summaryrefslogtreecommitdiff
path: root/scripts/test/binaryenjs.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/test/binaryenjs.py')
-rw-r--r--scripts/test/binaryenjs.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/test/binaryenjs.py b/scripts/test/binaryenjs.py
index 645c2501a..c5974145d 100644
--- a/scripts/test/binaryenjs.py
+++ b/scripts/test/binaryenjs.py
@@ -21,14 +21,11 @@ from . import support
def do_test_binaryen_js_with(which):
if not (shared.MOZJS or shared.NODEJS):
- print('no vm to run binaryen.js tests')
- return
+ shared.fail_with_error('no vm to run binaryen.js tests')
node_has_wasm = shared.NODEJS and support.node_has_webassembly(shared.NODEJS)
-
if not os.path.exists(which):
- print('no ' + which + ' build to test')
- return
+ shared.fail_with_error('no ' + which + ' build to test')
print('\n[ checking binaryen.js testcases (' + which + ')... ]\n')