Skip to content

Commit 342c4ed

Browse files
authored
[wasm][nodejs] enable EH for unit tests (#85387)
1 parent 004437e commit 342c4ed

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

eng/testing/WasmRunnerAOTTemplate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ fi
3535

3636
if [[ "$XHARNESS_COMMAND" == "test" ]]; then
3737
if [[ -z "$JS_ENGINE_ARGS" ]]; then
38-
JS_ENGINE_ARGS="--engine-arg=--stack-trace-limit=1000"
38+
JS_ENGINE_ARGS="--engine-arg=--stack-trace-limit=1000 --engine-arg=--experimental-wasm-eh"
3939
fi
4040

4141
if [[ -z "$JS_ENGINE" ]]; then

eng/testing/WasmRunnerTemplate.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ if /I [%XHARNESS_COMMAND%] == [test] (
4545
)
4646

4747
if [%JS_ENGINE_ARGS%] == [] (
48-
set "JS_ENGINE_ARGS=--engine-arg^=--stack-trace-limit^=1000"
48+
set "JS_ENGINE_ARGS=--engine-arg^=--stack-trace-limit^=1000 --engine-arg^=--experimental-wasm-eh"
4949
)
5050
) else (
5151
if [%BROWSER_PATH%] == [] if not [%HELIX_CORRELATION_PAYLOAD%] == [] (

eng/testing/WasmRunnerTemplate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ if [[ "$XHARNESS_COMMAND" == "test" ]]; then
4747
fi
4848

4949
if [[ -z "$JS_ENGINE_ARGS" ]]; then
50-
JS_ENGINE_ARGS="--engine-arg=--stack-trace-limit=1000"
50+
JS_ENGINE_ARGS="--engine-arg=--stack-trace-limit=1000 --engine-arg=--experimental-wasm-eh"
5151
fi
5252
fi
5353

0 commit comments

Comments
 (0)