mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-25 01:11:36 +01:00
Centralize all testing to the test folder instead of each subproject.
Trigger ALL tests when calling `rake test:all` instead of that being just the core tests.
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 */
|
||||
#ifdef UNITY_SKIP_DEFAULT_RUNNER
|
||||
#ifndef UNITY_SKIP_DEFAULT_RUNNER
|
||||
void UnityDefaultTestRun(UnityTestFunction Func, const char* FuncName, const int FuncLineNum)
|
||||
{
|
||||
Unity.CurrentTestName = FuncName;
|
||||
|
||||
@@ -481,8 +481,9 @@ 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);
|
||||
#else
|
||||
#define UNITY_SKIP_DEFAULT_RUNNER
|
||||
#endif
|
||||
|
||||
/*-------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user