diff options
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 |