Commit graph

352 commits

Author SHA1 Message Date
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
Snaipe
df1f23ef4c Refactored process management into its own file 2015-02-10 18:20:06 +01:00
Snaipe
d4eb936c00 Added valgrind-friendly no-early-exit for leak checks 2015-02-10 15:10:48 +01:00
Snaipe
09d186ab11 Exposed run_all to allow user-defined entry points 2015-02-06 12:46:38 +01:00
Snaipe
162aa6608b Fixed innaccurate statistics on wrong signal 2015-02-06 02:46:15 +01:00
Snaipe
49d7741a66 Added visual synthesis, made the program exit with a non-zero status when a test fails, and a way to bypass this. 2015-02-06 02:27:21 +01:00
Snaipe
6cca71103a Added signal & crash handling 2015-02-06 01:53:58 +01:00
Snaipe
b0ebd5cdde Added visual reporting for failed asserts and crashes 2015-02-05 20:35:17 +01:00
Snaipe
f90a62ecfa Added statistics gathering mechanism 2015-02-05 19:52:41 +01:00
Snaipe
1d6eccc69e Test worker should bypass atexit hooks 2015-02-05 18:17:11 +01:00
Snaipe
7db8b3f413 Added event system to push reporting back to the parent process 2015-02-05 18:09:21 +01:00
Snaipe
6babf0e295 Added test initialization & sorting 2015-02-05 15:36:09 +01:00
Snaipe
5ca6f80e25 Changed the ReportHook declaration syntax 2015-02-02 16:34:29 +01:00
Snaipe
4dd9f77c41 Added missing license headers 2015-02-02 13:02:59 +01:00
Snaipe
b0403cf36d Replaced criterion_{init,fini} with report hooks 2015-02-02 13:00:16 +01:00
Snaipe
2e2b2bc2df Added assertion & test statistics 2015-02-02 12:43:36 +01:00
Snaipe
b25ad2001b Added report hooks draft 2015-02-01 18:14:36 +01:00