diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-02-08 11:05:36 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-02-08 11:40:42 -0800 |
commit | 74d54530b2405f67332d636de19f79894cb2a419 (patch) | |
tree | ef4898fe351f52968956ba8a287214bafc6a98d3 /auto_update_tests.py | |
parent | 79d405b82b648cc406a12ce7164a4ef31279c67c (diff) | |
download | binaryen-74d54530b2405f67332d636de19f79894cb2a419.tar.gz binaryen-74d54530b2405f67332d636de19f79894cb2a419.tar.bz2 binaryen-74d54530b2405f67332d636de19f79894cb2a419.zip |
remove wast => wast operation in auto_update_tests.py, as it breaks when the spec changes, and remove some unnecessarily big wasts
Diffstat (limited to 'auto_update_tests.py')
-rwxr-xr-x | auto_update_tests.py | 9 |
1 files changed, 0 insertions, 9 deletions
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 |