From cfcdd5f776857a28d2b23d6cf26f0ad56a26a0b9 Mon Sep 17 00:00:00 2001 From: hedara90 <90hedara@gmail.com> Date: Tue, 2 Sep 2025 14:59:33 +0200 Subject: [PATCH] Fix crashing tests duplicating tests from another thread (#7683) Co-authored-by: Hedara --- test/test_runner.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test_runner.c b/test/test_runner.c index fe9a5eccb6..218061d63f 100644 --- a/test/test_runner.c +++ b/test/test_runner.c @@ -235,6 +235,8 @@ top: } else { + // Cost must be assigned to the test that crashed, otherwise tests will be desynched + AssignCostToRunner(); gTestRunnerState.state = STATE_REPORT_RESULT; gTestRunnerState.result = TEST_RESULT_CRASH; }