Skip to content

Clear detail stack in auto-runner#843

Open
ml-physec wants to merge 1 commit into
ThrowTheSwitch:masterfrom
ml-physec:fix/detail-stack-clear
Open

Clear detail stack in auto-runner#843
ml-physec wants to merge 1 commit into
ThrowTheSwitch:masterfrom
ml-physec:fix/detail-stack-clear

Conversation

@ml-physec

@ml-physec ml-physec commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

🍍

Previously, after a failed test it wouldn't clear the detail stack, so it could grow (up until the limit) if multiple tests failed, leading to any following tests to fail indicating a full detail stack.
Now the detail stack is cleared before each test (when using the automatically generated runner).

For now, I added it where UNITY_CLR_DETAILS was called, but it could also make sense to add it in other places, like resetTest, verifyTest and/or UnityConcludeTest.

I also noticed a copy-paste typo when Push/Pop are used without UNITY_DETAIL_STACK_SIZE defined.

@ml-physec
ml-physec force-pushed the fix/detail-stack-clear branch from c437634 to cd90181 Compare July 22, 2026 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant