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