Clear detail stack in auto-runner by ml-physec · Pull Request #843 · ThrowTheSwitch/Unity · GitHub
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions auto/generate_test_runner.rb
6 changes: 5 additions & 1 deletion src/unity.c
Original file line number Diff line number Diff line change
Expand Up @@ -2527,8 +2527,12 @@ void UnityBegin(const char* filename)
Unity.TestIgnores = 0;
Unity.CurrentTestFailed = 0;
Unity.CurrentTestIgnored = 0;

#ifdef UNITY_DETAIL_STACK_SIZE
Unity.CurrentDetailStackSize = 0;
#else
UNITY_CLR_DETAILS();
#endif

UNITY_OUTPUT_START();
}

Expand Down
4 changes: 2 additions & 2 deletions src/unity_internals.h
Loading