From 3c0cf0b29b8cb468469844e7d1bb38e311b6692d Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Fri, 8 Jan 2016 09:58:17 -0800 Subject: simplify print output in passes tests --- auto_update_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'auto_update_tests.py') 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) -- cgit v1.2.3