From 8c12e60328a9491104df2937c1528b354141d5d3 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 22 Feb 2016 15:40:05 -0800 Subject: Whitespace removal. --- auto_update_tests.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'auto_update_tests.py') 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'): -- cgit v1.2.3