[Lldb-commits] [lldb] r282508 - convert TestFatArchives.py over to no-debug-info test

Todd Fiala via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 27 10:17:21 PDT 2016


Author: tfiala
Date: Tue Sep 27 12:17:21 2016
New Revision: 282508

URL: http://llvm.org/viewvc/llvm-project?rev=282508&view=rev
Log:
convert TestFatArchives.py over to no-debug-info test

We only use the .o-style debug info here regardless, so having
it run all three debuginfo styles was a waste.

This also strips out the custom build function and uses the
TestBase.build() method.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/functionalities/fat_archives/TestFatArchives.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/fat_archives/TestFatArchives.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/fat_archives/TestFatArchives.py?rev=282508&r1=282507&r2=282508&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/fat_archives/TestFatArchives.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/fat_archives/TestFatArchives.py Tue Sep 27 12:17:21 2016
@@ -13,23 +13,16 @@ from lldbsuite.test.lldbtest import *
 from lldbsuite.test import lldbutil
 
 
-def execute_command(command):
-    # print('%% %s' % (command))
-    (exit_status, output) = seven.get_command_status_output(command)
-    # if output:
-    #     print(output)
-    # print('status = %u' % (exit_status))
-    return exit_status
-
-
 class FatArchiveTestCase(TestBase):
 
     mydir = TestBase.compute_mydir(__file__)
 
+    NO_DEBUG_INFO_TESTCASE = True
+
     @skipUnlessDarwin
-    def test(self):
+    def test_breakpoint_resolution_dwarf(self):
         if self.getArchitecture() == 'x86_64':
-            execute_command("make CC='%s'" % (os.environ["CC"]))
+            self.build()
             self.main()
         else:
             self.skipTest(




More information about the lldb-commits mailing list