Fix test TIMEOUT messaging in summary (#5772)

This commit is contained in:
Eduardo Quezada 2024-12-05 09:56:41 -03:00 committed by GitHub
parent c714caa27a
commit 47768431a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -490,6 +490,7 @@ static void Intr_Timer2(void)
if (gTestRunnerState.state == STATE_RUN_TEST) if (gTestRunnerState.state == STATE_RUN_TEST)
gTestRunnerState.state = STATE_REPORT_RESULT; gTestRunnerState.state = STATE_REPORT_RESULT;
gTestRunnerState.result = TEST_RESULT_TIMEOUT; gTestRunnerState.result = TEST_RESULT_TIMEOUT;
Test_MgbaPrintf(":L%s:%d - TIMEOUT", gTestRunnerState.test->filename, SourceLine(0));
ReinitCallbacks(); ReinitCallbacks();
IRQ_LR = ((uintptr_t)JumpToAgbMainLoop & ~1) + 4; IRQ_LR = ((uintptr_t)JumpToAgbMainLoop & ~1) + 4;
} }