[Lldb-commits] [lldb] r221611 - Fix new noreturn test on !darwin platforms

Ed Maste emaste at freebsd.org
Mon Nov 10 09:22:47 PST 2014


Author: emaste
Date: Mon Nov 10 11:22:47 2014
New Revision: 221611

URL: http://llvm.org/viewvc/llvm-project?rev=221611&view=rev
Log:
Fix new noreturn test on !darwin platforms

r221575 introduced a NoreturnUnwind test that did not skip the dsym
test on non-darwin platforms, and had the @dwarf_test case as an exact
copy of the dsym case (including the test name, test_with_dsym).

Modified:
    lldb/trunk/test/functionalities/unwind/noreturn/TestNoreturnUnwind.py

Modified: lldb/trunk/test/functionalities/unwind/noreturn/TestNoreturnUnwind.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/unwind/noreturn/TestNoreturnUnwind.py?rev=221611&r1=221610&r2=221611&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/unwind/noreturn/TestNoreturnUnwind.py (original)
+++ lldb/trunk/test/functionalities/unwind/noreturn/TestNoreturnUnwind.py Mon Nov 10 11:22:47 2014
@@ -11,6 +11,7 @@ import lldbutil
 class NoreturnUnwind(TestBase):
     mydir = TestBase.compute_mydir(__file__)
 
+    @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
     @dsym_test
     def test_with_dsym (self):
         """Test that we can backtrace correctly with 'noreturn' functions on the stack"""
@@ -19,9 +20,9 @@ class NoreturnUnwind(TestBase):
         self.noreturn_unwind_tests()
 
     @dwarf_test
-    def test_with_dsym (self):
+    def test_with_dwarf (self):
         """Test that we can backtrace correctly with 'noreturn' functions on the stack"""
-        self.buildDsym()
+        self.buildDwarf()
         self.setTearDownCleanup()
         self.noreturn_unwind_tests()
 





More information about the lldb-commits mailing list