From 2d36588609d5ab286e4e781be2dfa3679cd1c2bb Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Tue, 19 Aug 2025 16:39:49 -0700 Subject: [PATCH] ci: set BUN_JSC_dumpSimulatedThrows in asan runs --- scripts/runner.node.mjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/runner.node.mjs b/scripts/runner.node.mjs index fbb6d1382d..9fbb19d7ce 100755 --- a/scripts/runner.node.mjs +++ b/scripts/runner.node.mjs @@ -565,6 +565,7 @@ async function runTests() { }; if ((basename(execPath).includes("asan") || !isCI) && shouldValidateExceptions(testPath)) { env.BUN_JSC_validateExceptionChecks = "1"; + env.BUN_JSC_dumpSimulatedThrows = "1"; } return runTest(title, async () => { const { ok, error, stdout, crashes } = await spawnBun(execPath, { @@ -1288,6 +1289,7 @@ async function spawnBunTest(execPath, testPath, options = { cwd }) { }; if ((basename(execPath).includes("asan") || !isCI) && shouldValidateExceptions(relative(cwd, absPath))) { env.BUN_JSC_validateExceptionChecks = "1"; + env.BUN_JSC_dumpSimulatedThrows = "1"; } const { ok, error, stdout, crashes } = await spawnBun(execPath, {