diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-01-08 09:58:17 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-01-08 09:58:17 -0800 |
commit | 3c0cf0b29b8cb468469844e7d1bb38e311b6692d (patch) | |
tree | 90157555d20d066044e5b39cff4006843e5b559d /auto_update_tests.py | |
parent | f4958962bce2035f9de1ca409672607e68e4b5a3 (diff) | |
download | binaryen-3c0cf0b29b8cb468469844e7d1bb38e311b6692d.tar.gz binaryen-3c0cf0b29b8cb468469844e7d1bb38e311b6692d.tar.bz2 binaryen-3c0cf0b29b8cb468469844e7d1bb38e311b6692d.zip |
simplify print output in passes tests
Diffstat (limited to 'auto_update_tests.py')
-rwxr-xr-x | auto_update_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auto_update_tests.py b/auto_update_tests.py index 6909dede5..597bb5901 100755 --- a/auto_update_tests.py +++ b/auto_update_tests.py @@ -63,7 +63,7 @@ for t in sorted(os.listdir(os.path.join('test', 'passes'))): if t.endswith('.wast'): print '..', t passname = os.path.basename(t).replace('.wast', '') - cmd = [os.path.join('bin', 'binaryen-shell'), '-print-before', '-print-after', '-' + passname, os.path.join('test', 'passes', t)] + cmd = [os.path.join('bin', 'binaryen-shell'), '-print-after', '-' + passname, os.path.join('test', 'passes', t)] print ' ', ' '.join(cmd) actual, err = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate() open(os.path.join('test', 'passes', passname + '.txt'), 'w').write(actual) |