summaryrefslogtreecommitdiff
path: root/scripts/emcc-tests.sh
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2020-04-27 15:45:12 -0400
committerGitHub <noreply@github.com>2020-04-27 12:45:12 -0700
commit720aad93fcf3ce8b121ed73f2a8482a36b80fa55 (patch)
treeb0950081b5ab8943355fca54821936711d81a1fe /scripts/emcc-tests.sh
parent25c884e6b91e25e87a4fd6298bf511d17737b112 (diff)
downloadbinaryen-720aad93fcf3ce8b121ed73f2a8482a36b80fa55.tar.gz
binaryen-720aad93fcf3ce8b121ed73f2a8482a36b80fa55.tar.bz2
binaryen-720aad93fcf3ce8b121ed73f2a8482a36b80fa55.zip
Fix binaryenjs testing (#2810)
These tests are now optional. However, if you run them and the build is not found they will now error out, in order to avoid silently failing.
Diffstat (limited to 'scripts/emcc-tests.sh')
-rwxr-xr-xscripts/emcc-tests.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/emcc-tests.sh b/scripts/emcc-tests.sh
index bea5760e6..691d67fa6 100755
--- a/scripts/emcc-tests.sh
+++ b/scripts/emcc-tests.sh
@@ -6,11 +6,11 @@ echo "emcc-tests: build:wasm"
emcmake cmake -DCMAKE_BUILD_TYPE=Release
emmake make -j4 binaryen_wasm
echo "emcc-tests: test:wasm"
-python3 -m scripts.test.binaryenjs wasm
+./check.py binaryenjs_wasm
echo "emcc-tests: done:wasm"
echo "emcc-tests: build:js"
emmake make -j4 binaryen_js
echo "emcc-tests: test:js"
-python3 -m scripts.test.binaryenjs js
+./check.py binaryenjs
echo "emcc-tests: done:js"