diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-09-24 19:25:58 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-09-24 19:25:58 -0700 |
commit | 6983a2290487551295765b0f92d1b5c183cbcb31 (patch) | |
tree | 7edef1adc88b53b7f39576cd3c38b2b619b0ecc3 | |
parent | cc236543f303de318066976c57936109f063b311 (diff) |
fix test_debug
-rw-r--r-- | tests/runner.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py index 9d4c3073..9afedecf 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -3929,7 +3929,7 @@ Child2:9 try: def post(filename): lines = open(filename, 'r').readlines() - lines = filter(lambda line: '___assert_fail(' in line, lines) + lines = filter(lambda line: '___assert_fail(' in line or '___assert_func(' in line, lines) found_line_num = any(('//@line 7 "' in line) for line in lines) found_filename = any(('src.cpp"\n' in line) for line in lines) assert found_line_num, 'Must have debug info with the line number' |