| Index: tools/run-tests.py
|
| diff --git a/tools/run-tests.py b/tools/run-tests.py
|
| index a380c97ad3951d8f4784eb4c9d199b14b7849656..6e29226ab6c6a08961889201ea0cc4875de900e8 100755
|
| --- a/tools/run-tests.py
|
| +++ b/tools/run-tests.py
|
| @@ -357,6 +357,12 @@ def BuildOptions():
|
| result.add_option("--msan",
|
| help="Regard test expectations for MSAN",
|
| default=False, action="store_true")
|
| + result.add_option("--dump-wasm-module", dest="dump_wasm_module",
|
| + help="dump WASM module bytes",
|
| + default=False, action="store_true")
|
| + result.add_option("--dump-wasm-module-path", dest="dump_wasm_module_path",
|
| + help="directory to dump wasm modules to",
|
| + default="")
|
| return result
|
|
|
|
|
| @@ -695,6 +701,8 @@ def Execute(arch, mode, args, options, suites):
|
| options.rerun_failures_max,
|
| options.predictable,
|
| options.no_harness,
|
| + options.dump_wasm_module,
|
| + options.dump_wasm_module_path,
|
| use_perf_data=not options.swarming,
|
| sancov_dir=options.sancov_dir)
|
|
|
|
|