Do NOT include the default test runner if a custom runner has been defined.

Cleanup some style issues.
This commit is contained in:
mvandervoord
2019-12-05 13:19:43 -05:00
parent 2f79302d5c
commit c5c36ab29f
7 changed files with 18 additions and 7 deletions

View File

@@ -1800,6 +1800,8 @@ void UnityMessage(const char* msg, const UNITY_LINE_TYPE line)
}
/*-----------------------------------------------*/
/* If we have not defined our own test runner, then include our default test runner to make life easier */
#ifndef RUN_TEST
void UnityDefaultTestRun(UnityTestFunction Func, const char* FuncName, const int FuncLineNum)
{
Unity.CurrentTestName = FuncName;
@@ -1819,6 +1821,7 @@ void UnityDefaultTestRun(UnityTestFunction Func, const char* FuncName, const int
UNITY_EXEC_TIME_STOP();
UnityConcludeTest();
}
#endif
/*-----------------------------------------------*/
void UnitySetTestFile(const char* filename)