diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-02-25 00:01:58 -0500 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-02-25 00:01:58 -0500 |
commit | eca998361bfa997b44449dc8470f979f1ae804dc (patch) | |
tree | 369dd05fb27a69ee9c35cddb9811c2b992ded95a /tests | |
parent | 6783ff52ea232aed967ddf55f21043f6b40d1126 (diff) |
fuzz error message
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/fuzz/csmith_driver.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/fuzz/csmith_driver.py b/tests/fuzz/csmith_driver.py index 439dd308..35a2861e 100755 --- a/tests/fuzz/csmith_driver.py +++ b/tests/fuzz/csmith_driver.py @@ -87,5 +87,7 @@ while 1: assert 'warning: Successfully compiled asm.js code' in js2, 'must validate' js2 = js2.replace('\nwarning: Successfully compiled asm.js code\n', '') - assert js2 == correct, ''.join([a.rstrip()+'\n' for a in difflib.unified_diff(correct.split('\n'), js2.split('\n'), fromfile='expected', tofile='actual')]) + assert js2 == correct, ''.join([a.rstrip()+'\n' for a in difflib.unified_diff(correct.split('\n'), js2.split('\n'), fromfile='expected', tofile='actual')]) + 'ODIN FAIL' + print 'odin ok' + |