diff options
-rwxr-xr-x | auto_update_tests.py | 2 | ||||
-rwxr-xr-x | scripts/test/wasm2js.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/auto_update_tests.py b/auto_update_tests.py index 7da4da948..6d508365b 100755 --- a/auto_update_tests.py +++ b/auto_update_tests.py @@ -251,7 +251,7 @@ def update_binaryen_js_tests(): print('\n[ checking binaryen.js testcases... ]\n') node_has_wasm = NODEJS and node_has_webassembly(NODEJS) - for s in get_tests(get_test_dir('binaryen.js', ['.js'])): + for s in get_tests(get_test_dir('binaryen.js'), ['.js']): basename = os.path.basename(s) print(basename) f = open('a.js', 'w') diff --git a/scripts/test/wasm2js.py b/scripts/test/wasm2js.py index f5bbb4199..53a890f2c 100755 --- a/scripts/test/wasm2js.py +++ b/scripts/test/wasm2js.py @@ -129,7 +129,7 @@ def update_wasm2js_tests(): continue asm = os.path.basename(wasm).replace('.wast', '.2asm.js') - expected_file = os.path.join(get_test_dir('wasm2js', asm)) + expected_file = os.path.join(get_test_dir('wasm2js'), asm) if opt: expected_file += '.opt' |