mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-09 09:32:20 +00:00
Teach the lldbinline test cases to run in DWO mode
llvm-svn: 250734
This commit is contained in:
parent
f1381cb8d0
commit
238de51eed
@ -127,6 +127,12 @@ class InlineTest(TestBase):
|
||||
self.buildDwarf()
|
||||
self.do_test()
|
||||
|
||||
def __test_with_dwo(self):
|
||||
self.using_dsym = False
|
||||
self.BuildMakefile()
|
||||
self.buildDwo()
|
||||
self.do_test()
|
||||
|
||||
def execute_user_command(self, __command):
|
||||
exec __command in globals(), locals()
|
||||
|
||||
@ -186,6 +192,7 @@ def MakeInlineTest(__file, __globals, decorators=None):
|
||||
|
||||
test.test_with_dsym = ApplyDecoratorsToFunction(test._InlineTest__test_with_dsym, decorators)
|
||||
test.test_with_dwarf = ApplyDecoratorsToFunction(test._InlineTest__test_with_dwarf, decorators)
|
||||
test.test_with_dwo = ApplyDecoratorsToFunction(test._InlineTest__test_with_dwo, decorators)
|
||||
|
||||
# Add the test case to the globals, and hide InlineTest
|
||||
__globals.update({test_name : test})
|
||||
|
Loading…
Reference in New Issue
Block a user