mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-23 08:25:58 +01:00
Change the way we ignore the default runner.
This commit is contained in:
@@ -1801,7 +1801,7 @@ 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
|
||||
#ifdef UNITY_SKIP_DEFAULT_RUNNER
|
||||
void UnityDefaultTestRun(UnityTestFunction Func, const char* FuncName, const int FuncLineNum)
|
||||
{
|
||||
Unity.CurrentTestName = FuncName;
|
||||
|
||||
@@ -481,6 +481,7 @@ void UnitySetTestFile(const char* filename);
|
||||
void UnityConcludeTest(void);
|
||||
|
||||
#ifndef RUN_TEST
|
||||
#define UNITY_SKIP_DEFAULT_RUNNER
|
||||
void UnityDefaultTestRun(UnityTestFunction Func, const char* FuncName, const int FuncLineNum);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user