[Lldb-commits] [lldb] r250734 - Teach the lldbinline test cases to run in DWO mode
Enrico Granata via lldb-commits
lldb-commits at lists.llvm.org
Mon Oct 19 13:40:51 PDT 2015
Author: enrico
Date: Mon Oct 19 15:40:50 2015
New Revision: 250734
URL: http://llvm.org/viewvc/llvm-project?rev=250734&view=rev
Log:
Teach the lldbinline test cases to run in DWO mode
Modified:
lldb/trunk/test/lldbinline.py
Modified: lldb/trunk/test/lldbinline.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lldbinline.py?rev=250734&r1=250733&r2=250734&view=diff
==============================================================================
--- lldb/trunk/test/lldbinline.py (original)
+++ lldb/trunk/test/lldbinline.py Mon Oct 19 15:40:50 2015
@@ -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, de
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})
More information about the lldb-commits
mailing list