mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-06-19 05:18:01 +08:00
Print newline after each test, but not before
This change makes parsing the results easier for tools like ceedling, which was choking when a test used stdout and there wasn't an EOL after "PASS" (ThrowTheSwitch/Ceedling#41).
This commit is contained in:
@ -273,7 +273,6 @@ void UnityPrintOk(void)
|
||||
//-----------------------------------------------
|
||||
void UnityTestResultsBegin(const char* file, const UNITY_LINE_TYPE line)
|
||||
{
|
||||
UNITY_PRINT_EOL;
|
||||
UnityPrint(file);
|
||||
UNITY_OUTPUT_CHAR(':');
|
||||
UnityPrintNumber((_U_SINT)line);
|
||||
@ -309,6 +308,7 @@ void UnityConcludeTest(void)
|
||||
|
||||
Unity.CurrentTestFailed = 0;
|
||||
Unity.CurrentTestIgnored = 0;
|
||||
UNITY_PRINT_EOL;
|
||||
}
|
||||
|
||||
//-----------------------------------------------
|
||||
@ -1164,5 +1164,3 @@ int UnityEnd(void)
|
||||
}
|
||||
|
||||
//-----------------------------------------------
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user