summaryrefslogtreecommitdiff
path: root/check.py
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2017-06-09 20:28:31 -0700
committerGitHub <noreply@github.com>2017-06-09 20:28:31 -0700
commite82a9c4602a42c674155594e73595488bc5b9720 (patch)
treeccdcbb99594046a4ba275c22cc27b3e72aca8966 /check.py
parentdf58435d385ddf49c501eafd4e324ebe0caa8cbb (diff)
parent314a97687fc0acc7d5b9fa9d58447dc54cf09288 (diff)
downloadbinaryen-e82a9c4602a42c674155594e73595488bc5b9720.tar.gz
binaryen-e82a9c4602a42c674155594e73595488bc5b9720.tar.bz2
binaryen-e82a9c4602a42c674155594e73595488bc5b9720.zip
Merge pull request #1038 from WebAssembly/fix_ctor_eval_path
Fix path to wasm-ctor-eval binary used in test code
Diffstat (limited to 'check.py')
-rwxr-xr-xcheck.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/check.py b/check.py
index 9d5b64f18..7352f54fa 100755
--- a/check.py
+++ b/check.py
@@ -23,8 +23,8 @@ import sys
from scripts.test.support import run_command, split_wast
from scripts.test.shared import (
ASM2WASM, BIN_DIR, EMCC, MOZJS, NATIVECC, NATIVEXX, NODEJS, S2WASM_EXE,
- WASM_AS, WASM_OPT, WASM_SHELL, WASM_MERGE, WASM_SHELL_EXE, WASM_DIS,
- binary_format_check, delete_from_orbit, fail, fail_with_error,
+ WASM_AS, WASM_CTOR_EVAL, WASM_OPT, WASM_SHELL, WASM_MERGE, WASM_SHELL_EXE,
+ WASM_DIS, binary_format_check, delete_from_orbit, fail, fail_with_error,
fail_if_not_identical, fail_if_not_contained, has_vanilla_emcc,
has_vanilla_llvm, minify_check, num_failures, options, tests,
requested, warnings
@@ -304,7 +304,7 @@ for t in os.listdir(os.path.join('test', 'ctor-eval')):
print '..', t
t = os.path.join('test', 'ctor-eval', t)
ctors = open(t + '.ctors').read().strip()
- cmd = [os.path.join('bin', 'wasm-ctor-eval'), t, '-o', 'a.wast', '-S', '--ctors', ctors]
+ cmd = WASM_CTOR_EVAL + [t, '-o', 'a.wast', '-S', '--ctors', ctors]
stdout = run_command(cmd)
actual = open('a.wast').read()
out = t + '.out'