Commit graph

238 commits

Author SHA1 Message Date
Snaipe
8e164e7440 Added missing headers on ordered set 2015-03-22 20:20:17 +01:00
Snaipe
6adaa8706f Added suite separation and ordered set shenanigans 2015-03-22 20:13:47 +01:00
Snaipe
0196be5884 [Issue #1] Added test timers 2015-03-17 23:43:20 +01:00
Snaipe
547bd032d2 Renamed equal asserts, added asserts sample in README, added abort_test 2015-03-17 16:11:32 +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
45f9eca9cd Made asserts -pedantic compliant 2015-03-16 18:28:37 +01:00
Snaipe
51bccd8753 Made Test -pedantic compliant 2015-03-16 15:30:13 +01:00
Snaipe
edd62ccd71 Added portable size_t printf format code 2015-03-16 15:12:18 +01:00
Snaipe
2a9bd3c6f5 Merge branch 'asserts' into bleeding 2015-03-11 19:08:37 +01:00
Snaipe
5e4306f89d Made the Test macro comply to c99 va_args 2015-03-11 18:05:46 +01:00
Snaipe
32fd6376ad Removing useless extra parenthesis in assert 2015-03-11 06:38:33 +01:00
Snaipe
15ee9539fa Fixed expect_strings expanding to assert 2015-03-11 06:34:03 +01:00
Snaipe
431a683e85 Added assert_float_not_equal, fixed bad comparison operator for floating-point equality 2015-03-11 06:33:19 +01:00
Snaipe
13cbea292c Added comparison asserts over native types 2015-03-11 06:32:22 +01:00
Snaipe
b38ce35114 Added string comparison asserts 2015-03-11 04:00:36 +01:00
Snaipe
919c49853d Removed __VA_ARG__ concatenation GCC extension as it has a better alternative in this case. 2015-03-11 03:39:37 +01:00
Snaipe
e7dc892c42 Refactored assert macros 2015-03-11 03:36:54 +01:00
Snaipe
54af217d74 Made assert macros follow the function identifier coding style 2015-03-11 03:30:41 +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
d575f579bc Added logging facilities 2015-03-09 03:01:02 +01:00
Snaipe
602b43d501 Added floating-point number comparison asserts 2015-03-09 03:00:52 +01:00
Snaipe
3b1e8c144b [Issue #3] Added string asserts, fixed __VA_ARG__ dispatch 2015-02-08 15:40:03 +01:00
Snaipe
0f51313a2d [Issue #3] Added a bunch of asserts 2015-02-07 02:14:59 +01:00
Snaipe
7b5cad2e2c Added missing includes in main header file 2015-02-06 13:05:23 +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
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
7db8b3f413 Added event system to push reporting back to the parent process 2015-02-05 18:09:21 +01:00