mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 11:37:40 +01:00
Fixed KNOWN_FAILING tests running memory leak checks when unneeded (#3102)
This commit is contained in:
parent
68ce97cd90
commit
81522554c2
@ -155,7 +155,7 @@ void CB2_TestRunner(void)
|
||||
if (gTestRunnerState.test->runner->tearDown)
|
||||
gTestRunnerState.test->runner->tearDown(gTestRunnerState.test->data);
|
||||
|
||||
if (gTestRunnerState.result == gTestRunnerState.expectedResult
|
||||
if (gTestRunnerState.result == TEST_RESULT_PASS
|
||||
&& !gTestRunnerState.expectLeaks)
|
||||
{
|
||||
const struct MemBlock *head = HeapHead();
|
||||
|
Loading…
Reference in New Issue
Block a user