[Lldb-commits] [PATCH] D130467: [lldb][ARM] Misc improvements to TestEmulations
David Spickett via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Jul 26 01:32:12 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rGc4b6e5f9500f: [lldb][ARM] Misc improvements to TestEmulations (authored by DavidSpickett).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130467/new/
https://reviews.llvm.org/D130467
Files:
lldb/test/API/arm/emulation/TestEmulations.py
Index: lldb/test/API/arm/emulation/TestEmulations.py
===================================================================
--- lldb/test/API/arm/emulation/TestEmulations.py
+++ lldb/test/API/arm/emulation/TestEmulations.py
@@ -20,7 +20,7 @@
files = os.listdir(test_dir)
thumb_files = list()
for f in files:
- if '-thumb.dat' in f:
+ if f.endswith('-thumb.dat'):
thumb_files.append(f)
for f in thumb_files:
@@ -33,7 +33,7 @@
files = os.listdir(test_dir)
arm_files = list()
for f in files:
- if '-arm.dat' in f:
+ if f.endswith('-arm.dat'):
arm_files.append(f)
for f in arm_files:
@@ -49,4 +49,5 @@
print('\nRunning test ' + os.path.basename(filename))
print(output)
- self.assertTrue(success, 'Emulation test failed.')
+ self.assertTrue(success, 'Emulation test {} failed.'.format(
+ filename))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130467.447617.patch
Type: text/x-patch
Size: 1011 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220726/0196a470/attachment.bin>
More information about the lldb-commits
mailing list