summaryrefslogtreecommitdiff
path: root/scripts/test/wasm2js.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/test/wasm2js.py')
-rw-r--r--scripts/test/wasm2js.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/test/wasm2js.py b/scripts/test/wasm2js.py
index d716e5fe6..1f6ca4f8a 100644
--- a/scripts/test/wasm2js.py
+++ b/scripts/test/wasm2js.py
@@ -81,9 +81,9 @@ def test_wasm2js_output():
'--disable-exception-handling']
if opt:
cmd += ['-O']
- if 'emscripten' in t:
+ if 'emscripten' in basename:
cmd += ['--emscripten']
- if 'deterministic' in t:
+ if 'deterministic' in basename:
cmd += ['--deterministic']
js = support.run_command(cmd)
all_js.append(js)