diff options
Diffstat (limited to 'scripts/test/wasm2js.py')
-rwxr-xr-x | scripts/test/wasm2js.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/test/wasm2js.py b/scripts/test/wasm2js.py index c1abaa8f9..2395778bd 100755 --- a/scripts/test/wasm2js.py +++ b/scripts/test/wasm2js.py @@ -173,8 +173,8 @@ def update_wasm2js_tests(): asserts = os.path.basename(wasm).replace('.wast.asserts', '.asserts.js') traps = os.path.basename(wasm).replace('.wast.asserts', '.traps.js') - asserts_expected_file = os.path.join('test', asserts) - traps_expected_file = os.path.join('test', traps) + asserts_expected_file = os.path.join(options.binaryen_test, asserts) + traps_expected_file = os.path.join(options.binaryen_test, traps) cmd = WASM2JS + [os.path.join(wasm2js_dir, wasm), '--allow-asserts'] out = run_command(cmd) |