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).

llvm-svn: 221611
This commit is contained in:
Ed Maste
2014-11-10 17:22:47 +00:00
parent da37021cf3
commit 29a4584484

View File

@@ -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()