From 74d54530b2405f67332d636de19f79894cb2a419 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Mon, 8 Feb 2016 11:05:36 -0800 Subject: remove wast => wast operation in auto_update_tests.py, as it breaks when the spec changes, and remove some unnecessarily big wasts --- auto_update_tests.py | 9 --------- 1 file changed, 9 deletions(-) (limited to 'auto_update_tests.py') diff --git a/auto_update_tests.py b/auto_update_tests.py index 19e115917..57709b7f7 100755 --- a/auto_update_tests.py +++ b/auto_update_tests.py @@ -18,15 +18,6 @@ for wasm in sorted(os.listdir('test')): actual, err = subprocess.Popen([os.path.join('bin', 'wasm2asm'), os.path.join('test', wasm)], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate() open(os.path.join('test', asm), 'w').write(actual) -for t in sorted(os.listdir('test')): - if t.endswith('.wast') and not t.startswith('spec'): - print '..', t - t = os.path.join('test', t) - actual, err = subprocess.Popen([os.path.join('bin', 'binaryen-shell'), t, '--print-before'], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate() - actual = actual.replace('printing before:\n', '') - - open(t, 'w').write(actual) - for dot_s_dir in ['dot_s', 'llvm_autogenerated']: for s in sorted(os.listdir(os.path.join('test', dot_s_dir))): if not s.endswith('.s'): continue -- cgit v1.2.3