Test order file with both dsym and dwarf combination.

llvm-svn: 113884
This commit is contained in:
Johnny Chen 2010-09-14 22:55:48 +00:00
parent 6ed2feebfc
commit 1d8ab8a26b
1 changed files with 11 additions and 2 deletions

View File

@ -12,10 +12,19 @@ class OrderFileTestCase(TestBase):
mydir = "order"
def test_order_file(self):
@unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
def test_with_dsym(self):
"""Test debug symbols follow the correct order by the order file."""
self.buildDefault()
self.buildDsym()
self.order_file()
def test_with_dwarf(self):
"""Test debug symbols follow the correct order by the order file."""
self.buildDwarf()
self.order_file()
def order_file(self):
"""Test debug symbols follow the correct order by the order file."""
exe = os.path.join(os.getcwd(), "a.out")
self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)