aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
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