mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 21:55:39 +08:00
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:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user