Index: build/android/pylib/symbols/elf_symbolizer_unittest.py |
diff --git a/build/android/pylib/symbols/elf_symbolizer_unittest.py b/build/android/pylib/symbols/elf_symbolizer_unittest.py |
index 978e621faebfb7b258457ea9ca12f2312eeb827f..5fe4352181574402c99eb9d678ec3724d1da0c23 100755 |
--- a/build/android/pylib/symbols/elf_symbolizer_unittest.py |
+++ b/build/android/pylib/symbols/elf_symbolizer_unittest.py |
@@ -155,6 +155,8 @@ class ELFSymbolizerTest(unittest.TestCase): |
self.assertIsNone(sym_info.name) |
else: |
self.assertTrue(sym_info.name.startswith(exp_name)) |
+ if not exp_source_path is None: |
+ exp_source_path = os.path.abspath(exp_source_path) |
self.assertEqual(sym_info.source_path, exp_source_path) |
self.assertEqual(sym_info.source_line, exp_source_line) |
@@ -170,4 +172,4 @@ class ELFSymbolizerTest(unittest.TestCase): |
if __name__ == '__main__': |
- unittest.main() |
+ unittest.main() |