Skip to content

Commit

Permalink
[lldb][ARM] Invert emulation test assert message
Browse files Browse the repository at this point in the history
Previously you got:
AssertionError: False is not True : Emulation test succeeded.

Which is a bit of a head scratcher. The message is used when
the test fails, not when it succeeds.
  • Loading branch information
DavidSpickett committed Jul 22, 2022
1 parent 251b5b8 commit 1ac12a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lldb/test/API/arm/emulation/TestEmulations.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ def run_a_single_test(self, filename):
print('\nRunning test ' + os.path.basename(filename))
print(output)

self.assertTrue(success, 'Emulation test succeeded.')
self.assertTrue(success, 'Emulation test failed.')

0 comments on commit 1ac12a5

Please sign in to comment.