diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-02-29 16:25:26 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-02-29 16:25:26 -0800 |
commit | 11c52f9ca64ccec0d8db6dac22247c8b0eed503f (patch) | |
tree | 4180fa47f0e96727d760983f78a805113b277df0 /auto_update_tests.py | |
parent | 84aa340d56ca3bf8b3ae9a2ea3ba4990f975977e (diff) | |
parent | 654feec8e99413bd989ede7143fcf5a9c67c9db6 (diff) | |
download | binaryen-11c52f9ca64ccec0d8db6dac22247c8b0eed503f.tar.gz binaryen-11c52f9ca64ccec0d8db6dac22247c8b0eed503f.tar.bz2 binaryen-11c52f9ca64ccec0d8db6dac22247c8b0eed503f.zip |
Merge pull request #204 from mbebenita/print-compact
Compact printing.
Diffstat (limited to 'auto_update_tests.py')
-rwxr-xr-x | auto_update_tests.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/auto_update_tests.py b/auto_update_tests.py index 939d8d278..5c2c37dcb 100755 --- a/auto_update_tests.py +++ b/auto_update_tests.py @@ -52,6 +52,10 @@ for t in sorted(os.listdir(os.path.join('test', 'print'))): print ' ', ' '.join(cmd) actual, err = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate() open(os.path.join('test', 'print', wasm + '.txt'), 'w').write(actual) + cmd = [os.path.join('bin', 'binaryen-shell'), os.path.join('test', 'print', t), '--print-minified'] + print ' ', ' '.join(cmd) + actual, err = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate() + open(os.path.join('test', 'print', wasm + '.minified.txt'), 'w').write(actual) for t in sorted(os.listdir(os.path.join('test', 'passes'))): if t.endswith('.wast'): |