summaryrefslogtreecommitdiff
path: root/scripts/test
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/test')
-rwxr-xr-xscripts/test/generate_lld_tests.py3
-rw-r--r--scripts/test/shared.py3
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/test/generate_lld_tests.py b/scripts/test/generate_lld_tests.py
index b5cb6b140..2279482eb 100755
--- a/scripts/test/generate_lld_tests.py
+++ b/scripts/test/generate_lld_tests.py
@@ -50,7 +50,8 @@ def generate_wast_files(llvm_bin, emscripten_root):
compile_cmd = [
os.path.join(llvm_bin, 'clang'), src_path, '-o', obj_path,
- '--target=wasm32-unknown-unknown-wasm',
+ '--target=wasm32-emscripten',
+ '-mllvm', '-enable-emscripten-sjlj',
'-c',
'-nostdinc',
'-Xclang', '-nobuiltininc',
diff --git a/scripts/test/shared.py b/scripts/test/shared.py
index 8d30ecaa0..f8d575656 100644
--- a/scripts/test/shared.py
+++ b/scripts/test/shared.py
@@ -43,7 +43,6 @@ def parse_args(args):
action='store_false',
help=('If set, the whole test suite will run to completion independent of'
' earlier errors.'))
-
parser.add_argument(
'--interpreter', dest='interpreter', default='',
help='Specifies the wasm interpreter executable to run tests on.')
@@ -60,7 +59,7 @@ def parse_args(args):
parser.add_argument(
'--out-dir', dest='out_dir', default='',
help=('Specifies a path to the output directory for temp files, which '
- 'is also where the test runner changes directory into.',
+ 'is also where the test runner changes directory into.'
' Default:. out/test under the binaryen root.'))
parser.add_argument(
'--valgrind', dest='valgrind', default='',