From 84da536f584a11edd2c6d9d7d422e917df0e0155 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Mon, 26 Aug 2019 12:37:31 -0700 Subject: Fix auto_update_tests.py after #2114 (#2306) --- scripts/test/wasm2js.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/test') 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) -- cgit v1.2.3