summaryrefslogtreecommitdiff
path: root/auto_update_tests.py
diff options
context:
space:
mode:
authorMichael <mbebenita@Michaels-MacBook-Pro-4.local>2016-02-22 15:40:05 -0800
committerMichael <mbebenita@Michaels-MacBook-Pro-4.local>2016-02-22 15:47:57 -0800
commit8c12e60328a9491104df2937c1528b354141d5d3 (patch)
tree43a61c684bdf2c3b4cbaba22a1f445d1b5a26179 /auto_update_tests.py
parentaf0f6ef999e8ddf9c168b697710fd313883e8807 (diff)
downloadbinaryen-8c12e60328a9491104df2937c1528b354141d5d3.tar.gz
binaryen-8c12e60328a9491104df2937c1528b354141d5d3.tar.bz2
binaryen-8c12e60328a9491104df2937c1528b354141d5d3.zip
Whitespace removal.
Diffstat (limited to 'auto_update_tests.py')
-rwxr-xr-xauto_update_tests.py4
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'):