aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <azakai@mozilla.com>2011-02-18 22:40:29 -0800
committerAlon Zakai <azakai@mozilla.com>2011-02-18 22:40:29 -0800
commit6ccab6bbb7f9fc715901c83e10109a9a20bc4c73 (patch)
tree02f879cdd28faf5e7ac5a3741308c1e5486409f8 /tests/runner.py
parenta24e070ab3d7497d52d0808159accbb9f6461020 (diff)
parse debugging metadata for original filenames
Diffstat (limited to 'tests/runner.py')
-rw-r--r--tests/runner.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 6bf6ccd0..cfe0dd55 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -1741,7 +1741,8 @@ if 'benchmark' not in sys.argv:
def post(filename):
lines = open(filename, 'r').readlines()
line = filter(lambda line: '___assert_fail(' in line, lines)[0]
- assert '//@line 7\n' in line, 'Must have debug info with the line number'
+ assert '//@line 7 "' in line, 'Must have debug info with the line number'
+ assert 'src.cpp"\n' in line, 'Must have debug info with the filename'
self.do_test(src, '*nothingatall*', post_build=post)
except Exception, e:
# This test *should* fail