Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1383)

Unified Diff: build/android/pylib/symbols/elf_symbolizer_unittest.py

Issue 339853004: binary_size_tool: fix for ambiguous addr2line output (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: update according to primiano and andrewhaydens instructions Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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()

Powered by Google App Engine
This is Rietveld 408576698