-----------------------------------------------*/
| 1363 | |
| 1364 | /*-----------------------------------------------*/ |
| 1365 | int UnityEnd(void) |
| 1366 | { |
| 1367 | UNITY_PRINT_EOL(); |
| 1368 | UnityPrint(UnityStrBreaker); |
| 1369 | UNITY_PRINT_EOL(); |
| 1370 | UnityPrintNumber((UNITY_INT)(Unity.NumberOfTests)); |
| 1371 | UnityPrint(UnityStrResultsTests); |
| 1372 | UnityPrintNumber((UNITY_INT)(Unity.TestFailures)); |
| 1373 | UnityPrint(UnityStrResultsFailures); |
| 1374 | UnityPrintNumber((UNITY_INT)(Unity.TestIgnores)); |
| 1375 | UnityPrint(UnityStrResultsIgnored); |
| 1376 | UNITY_PRINT_EOL(); |
| 1377 | if (Unity.TestFailures == 0U) |
| 1378 | { |
| 1379 | UnityPrint(UnityStrOk); |
| 1380 | } |
| 1381 | else |
| 1382 | { |
| 1383 | UnityPrint(UnityStrFail); |
| 1384 | #ifdef UNITY_DIFFERENTIATE_FINAL_FAIL |
| 1385 | UNITY_OUTPUT_CHAR('E'); UNITY_OUTPUT_CHAR('D'); |
| 1386 | #endif |
| 1387 | } |
| 1388 | UNITY_PRINT_EOL(); |
| 1389 | UNITY_FLUSH_CALL(); |
| 1390 | UNITY_OUTPUT_COMPLETE(); |
| 1391 | return (int)(Unity.TestFailures); |
| 1392 | } |
| 1393 | |
| 1394 | /*----------------------------------------------- |
| 1395 | * Command Line Argument Support |
searching dependent graphs…