1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-27 18:24:27 +01:00

Adding command line support. Started with -n (test name matching) -x (test name exclusion).

Script verification hasn't been added yet.
This commit is contained in:
Mark VanderVoord
2016-06-21 16:07:10 -04:00
parent b3bc196ab3
commit 4d3d062b56
3 changed files with 141 additions and 5 deletions

View File

@@ -640,6 +640,15 @@ extern const char UnityStrErr64[];
#define UNITY_UNUSED(x) (void)(sizeof(x))
/*-----------------------------------------------
* Command Line Argument Support
*-----------------------------------------------*/
#ifdef UNITY_PARSE_COMMAND_LINE_ARGS
int UnityParseOptions(int argc, char** argv);
int UnityTestMatches(void);
#endif
/*-------------------------------------------------------
* Basic Fail and Ignore
*-------------------------------------------------------*/