mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-12-16 20:51:17 +08:00
Add FALLTHRU
This commit is contained in:
@@ -2329,7 +2329,8 @@ int UnityParseOptions(int argc, char** argv)
|
|||||||
UnityPrint("ERROR: Unknown Option ");
|
UnityPrint("ERROR: Unknown Option ");
|
||||||
UNITY_OUTPUT_CHAR(argv[i][1]);
|
UNITY_OUTPUT_CHAR(argv[i][1]);
|
||||||
UNITY_PRINT_EOL();
|
UNITY_PRINT_EOL();
|
||||||
/* fall-through to display help */
|
/* Now display help */
|
||||||
|
/* FALLTHRU */
|
||||||
case 'h':
|
case 'h':
|
||||||
UnityPrint("Options: "); UNITY_PRINT_EOL();
|
UnityPrint("Options: "); UNITY_PRINT_EOL();
|
||||||
UnityPrint("-l List all tests and exit"); UNITY_PRINT_EOL();
|
UnityPrint("-l List all tests and exit"); UNITY_PRINT_EOL();
|
||||||
|
|||||||
@@ -1163,7 +1163,7 @@ RUNNER_TESTS = [
|
|||||||
"Options:",
|
"Options:",
|
||||||
"-l List all tests and exit",
|
"-l List all tests and exit",
|
||||||
"-f NAME Filter to run only tests whose name includes NAME",
|
"-f NAME Filter to run only tests whose name includes NAME",
|
||||||
"-n NAME (deprecated) alias of -f",
|
"-n NAME \\(deprecated\\) alias of -f",
|
||||||
"-h show this Help menu",
|
"-h show this Help menu",
|
||||||
"-q Quiet/decrease verbosity",
|
"-q Quiet/decrease verbosity",
|
||||||
"-v increase Verbosity",
|
"-v increase Verbosity",
|
||||||
@@ -1187,7 +1187,7 @@ RUNNER_TESTS = [
|
|||||||
"Options:",
|
"Options:",
|
||||||
"-l List all tests and exit",
|
"-l List all tests and exit",
|
||||||
"-f NAME Filter to run only tests whose name includes NAME",
|
"-f NAME Filter to run only tests whose name includes NAME",
|
||||||
"-n NAME (deprecated) alias of -f",
|
"-n NAME \\(deprecated\\) alias of -f",
|
||||||
"-h show this Help menu",
|
"-h show this Help menu",
|
||||||
"-q Quiet/decrease verbosity",
|
"-q Quiet/decrease verbosity",
|
||||||
"-v increase Verbosity",
|
"-v increase Verbosity",
|
||||||
|
|||||||
Reference in New Issue
Block a user