Commit graph

68 commits

Author SHA1 Message Date
Snaipe
beb9b64eb1 Refactored most of the output for i18n support 2015-03-31 22:13:09 +02:00
Snaipe
6af7a69fb4 Added basic i18n interface 2015-03-24 15:43:09 +01:00
Snaipe
576dc9d97e Added string identifier precompilation to avoid dynamic generation in pattern matching 2015-03-24 11:23:38 +01:00
Snaipe
a4115915f4 Fixed memory leak for multiple suites 2015-03-24 01:56:17 +01:00
Snaipe
7bb1240af1 Boyscouting. 2015-03-24 01:17:58 +01:00
Snaipe
32d7f6e518 Added output for skipped tests (tap & normal logging) 2015-03-24 01:09:10 +01:00
Snaipe
9e65e34650 Removed test index in tap to avoid issues with the counter in the future 2015-03-24 00:32:37 +01:00
Snaipe
680b86420b Added more structure to tap output, protocol 13 directive, and useful info comments 2015-03-24 00:26:39 +01:00
Snaipe
85d47cff98 Added version info when starting the tests, refactored version out of main.c 2015-03-24 00:25:50 +01:00
Snaipe
02790e461c Fixed bad formatting with mutli-line assertion messages 2015-03-23 20:54:48 +01:00
Snaipe
4dff524e55 Added stats on suites 2015-03-23 18:37:51 +01:00
Snaipe
c98dd08e91 Fixed color mishandling, removed unused bold call 2015-03-23 18:06:54 +01:00
Snaipe
374542db5e Added PRE/POST_SUITE hooks 2015-03-23 17:15:51 +01:00
Snaipe
b0f4ad6e6d Added ANSI color support 2015-03-23 16:32:12 +01:00
Snaipe
d589386569 Fixing bad grammar on messages for single tests 2015-03-23 01:13:53 +01:00
Snaipe
9559a1e788 Added missing environment variables 2015-03-23 01:01:49 +01:00
Snaipe
45793a9ede Refactored types out of criterion.h 2015-03-23 00:41:48 +01:00
Snaipe
2f680b486a Boyscouting. 2015-03-23 00:18:20 +01:00
Snaipe
6b5d4f95d6 Refactored outputting logic out of the report hook code 2015-03-23 00:09:21 +01:00
Snaipe
8c8d14901e Added pattern filtering over parameters 2015-03-22 23:16:09 +01:00
Snaipe
0d64a92b50 Added missing header in main.c 2015-03-22 21:43:23 +01:00
Snaipe
19720c2c2c Added --fail-fast command-line switch 2015-03-22 21:32:44 +01:00
Snaipe
db0de78320 Added --list command-line switch 2015-03-22 21:23:14 +01:00
Snaipe
56293a074b Fixed metadata mishandling in ordered set 2015-03-22 20:43:14 +01:00
Snaipe
8e164e7440 Added missing headers on ordered set 2015-03-22 20:20:17 +01:00
Snaipe
a09b65cc5f Added open streams flushing before the test worker exits 2015-03-22 20:19:16 +01:00
Snaipe
6adaa8706f Added suite separation and ordered set shenanigans 2015-03-22 20:13:47 +01:00
Snaipe
fb2416b07b Updated to libcsptr 2.0 2015-03-19 16:13:16 +01:00
Snaipe
8233695a2b Added version switch, updated documentation on CLI 2015-03-18 07:10:17 +01:00
Snaipe
73eae59b05 Fixed compile error on OS X timers 2015-03-17 23:21:57 +01:00
Snaipe
098eabb7e7 Fixed test timing on windows 2015-03-17 23:16:30 +01:00
Snaipe
4a5c19a08c Added monotonic cross-platform timer 2015-03-17 01:08:40 +01:00
Snaipe
c28cff39b8 [Issue #1] Added time measurements 2015-03-17 01:07:50 +01:00
Snaipe
a939356f2e Cleaned up includes 2015-03-17 00:56:33 +01:00
Snaipe
99d84d8009 Fixed --no-early-exit behavior being inverted 2015-03-17 00:26:19 +01:00
Snaipe
f075bb111b Changed prototype of criterion_run_all_tests 2015-03-17 00:22:22 +01:00
Snaipe
edd62ccd71 Added portable size_t printf format code 2015-03-16 15:12:18 +01:00
Snaipe
1a265e7823 Fixed assert failing to compile when activated 2015-03-16 00:56:03 +01:00
Snaipe
c6c106c4eb Fixed issues with CLI, boyscouting 2015-03-11 03:18:24 +01:00
Snaipe
0f37653930 Fixed errors induced by the mac port 2015-03-11 03:18:24 +01:00
Snaipe
1c392b67e2 [Issue #6] Added Mac OS X compatibility. This forced the (PRE|POST)_EVERYTHING to be renamed to \1_ALL since section names on OSX must not have more than 16 characters. 2015-03-11 03:17:55 +01:00
Snaipe
6c1b2f7199 Added missing license headers 2015-03-09 20:19:28 +01:00
Snaipe
4a39f9daff Added better option management 2015-03-09 20:19:28 +01:00
Snaipe
4b451b1a58 [Issue #5] Made Criterion output TAP when provided with --tap 2015-03-09 20:19:21 +01:00
Snaipe
2132d456c5 [Issue #2] Exposed test_set and passed its instance to PRE_EVERYTHING to allow runtime changes 2015-03-09 05:40:22 +01:00
Snaipe
59814dc371 Added missing license headers 2015-03-09 05:18:29 +01:00
Snaipe
35f3eeef6e Added command-line options to change the verbosity level 2015-03-09 03:01:02 +01:00
Snaipe
728f75cd0b Modified report hooks to use the logging interface 2015-03-09 03:01:02 +01:00
Snaipe
d575f579bc Added logging facilities 2015-03-09 03:01:02 +01:00
Snaipe
7e2d485d75 Moved main function in its own CU to avoid symbol conflicts when calling other functions 2015-02-11 01:25:48 +01:00