diff options
Diffstat (limited to 'auto_update_tests.py')
-rwxr-xr-x | auto_update_tests.py | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/auto_update_tests.py b/auto_update_tests.py index 5fa106747..378f511cc 100755 --- a/auto_update_tests.py +++ b/auto_update_tests.py @@ -17,13 +17,6 @@ for asm in sorted(os.listdir('test')): actual, err = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate() open(os.path.join('test', wasm), 'w').write(actual) -for wasm in sorted(os.listdir('test')): - if wasm.endswith('.wast') and os.path.basename(wasm) not in ['kitchen_sink.wast']: # i64s in kitchen_sink - print '..', wasm - asm = wasm.replace('.wast', '.2asm.js') - 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 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 @@ -111,7 +104,7 @@ for t in sorted(os.listdir(os.path.join('test', 'example'))): print ' '.join(extra) subprocess.check_call(extra) # Link against the binaryen C library DSO, using an executable-relative rpath - cmd = ['example.o', '-lbinaryen-c'] + cmd + ['-Wl,-rpath=$ORIGIN/../lib'] + cmd = ['example.o', '-lbinaryen'] + cmd + ['-Wl,-rpath=$ORIGIN/../lib'] else: continue if os.environ.get('COMPILER_FLAGS'): @@ -126,5 +119,4 @@ for t in sorted(os.listdir(os.path.join('test', 'example'))): finally: os.remove(output_file) - print '\n[ success! ]' |