summaryrefslogtreecommitdiff
path: root/test/run-roundtrip.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/run-roundtrip.py')
-rwxr-xr-xtest/run-roundtrip.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/run-roundtrip.py b/test/run-roundtrip.py
index bce745c5..e618432b 100755
--- a/test/run-roundtrip.py
+++ b/test/run-roundtrip.py
@@ -117,6 +117,7 @@ def main(args):
parser.add_argument('--generate-names', action='store_true')
parser.add_argument('--fold-exprs', action='store_true')
parser.add_argument('--enable-exceptions', action='store_true')
+ parser.add_argument('--enable-threads', action='store_true')
parser.add_argument('--inline-exports', action='store_true')
parser.add_argument('file', help='test file.')
options = parser.parse_args(args)
@@ -127,6 +128,7 @@ def main(args):
wat2wasm.AppendOptionalArgs({
'--debug-names': options.debug_names,
'--enable-exceptions': options.enable_exceptions,
+ '--enable-threads': options.enable_threads,
'--no-check': options.no_check,
})
@@ -136,6 +138,7 @@ def main(args):
wasm2wat.AppendOptionalArgs({
'--fold-exprs': options.fold_exprs,
'--enable-exceptions': options.enable_exceptions,
+ '--enable-threads': options.enable_threads,
'--inline-exports': options.inline_exports,
'--no-debug-names': not options.debug_names,
'--generate-names': options.generate_names,