forked from OSchip/llvm-project
parent
661f8069c7
commit
9440d1c008
|
@ -20,8 +20,8 @@ class OrderFileTestCase(TestBase):
|
|||
# Test that the debug symbols have Function f3 before Function f1.
|
||||
self.runCmd("image dump symtab a.out")
|
||||
output = self.res.GetOutput()
|
||||
mo_f3 = re.search("Function +.+f3", output)
|
||||
mo_f1 = re.search("Function +.+f1", output)
|
||||
mo_f3 = re.search("Code +.+f3", output)
|
||||
mo_f1 = re.search("Code +.+f1", output)
|
||||
|
||||
# Match objects for f3 and f1 must exist and f3 must come before f1.
|
||||
self.assertTrue(mo_f3 and mo_f1 and mo_f3.start() < mo_f1.start(),
|
||||
|
|
Loading…
Reference in New Issue