Commit graph

227 commits

Author SHA1 Message Date
Snaipe
b940ad3790 [Issue #32] Added ability to test the exit status of a test. 2015-09-01 19:09:11 +02:00
Snaipe
b4fc22e7e4 Added -S switch to display the base name of source files 2015-08-20 08:05:44 +02:00
Snaipe
4d60e8ad91 Added missing license headers 2015-08-06 00:23:22 +02:00
Snaipe
371ffd5420 Added another expansion round for DECL_SECTION_LIMITS, fixes OSX compilation 2015-08-05 10:08:41 +02:00
Snaipe
86762f8ff7 Fixed windows code for section retrieving and changed section names to fit under 8 bytes. 2015-08-03 15:15:48 +02:00
Snaipe
0d7033cfd5 Made windows dynamically resolve the section limits at runtime 2015-08-01 13:44:58 +02:00
Snaipe
0179f32b01 Only define _ASSERT_H when it is not already defined 2015-04-25 17:28:06 +02:00
Snaipe
b0e5becfb9 Added better deprecation message 2015-04-25 17:04:47 +02:00
Snaipe
58581f5b18 [Issue #20] Added cr_ prefix to all assertion macros 2015-04-25 16:45:31 +02:00
Snaipe
b8d44f433a Added macro alias for assert and enhanced compatibility with assert.h 2015-04-24 00:32:20 +02:00
Snaipe
589bcf60fd Added assert_null and structure arrays asserts 2015-04-14 19:44:30 +02:00
Snaipe
c583e7e742 [Issue #17] Fixed nested failed asserts not aborting the test 2015-04-14 18:39:40 +02:00
Snaipe
7a00d206dc Fixed wrong prefix for failed tests 2015-04-12 16:44:48 +02:00
Snaipe
14aa37594d [Issue #15] Fixed incorrect reporting on setup/teardown crash 2015-04-10 23:21:03 +02:00
Snaipe
8a29e3e792 [Issue #15] Fixed inaccurate statistics on disabled tests 2015-04-10 22:50:30 +02:00
Snaipe
260b88c5d7 Boyscouting 2015-04-10 01:03:58 +02:00
Snaipe
ef2ea42c1a [Issue #12] Merge branch 'features/i18n' into bleeding 2015-04-06 19:28:25 +02:00
Snaipe
beb9b64eb1 Refactored most of the output for i18n support 2015-03-31 22:13:09 +02:00
Snaipe
243ed3a8b8 Trying a safer approach for a fork() alternative 2015-03-26 22:18:43 +01:00
Snaipe
70a3c91dc5 Refactored code to prepare for windows integration 2015-03-24 23:38:00 +01:00
Snaipe
9ca88d5673 Added an optional description field for tests 2015-03-24 15:59:02 +01:00
Snaipe
4dceef9dba Boyscouting. 2015-03-24 15:44:14 +01:00
Snaipe
576dc9d97e Added string identifier precompilation to avoid dynamic generation in pattern matching 2015-03-24 11:23:38 +01:00
Snaipe
2faf341c9d Removed useless padding on criterion suites 2015-03-24 10:02:16 +01:00
Snaipe
4dff524e55 Added stats on suites 2015-03-23 18:37:51 +01:00
Snaipe
374542db5e Added PRE/POST_SUITE hooks 2015-03-23 17:15:51 +01:00
Snaipe
3274a78be9 Fixed infinite loop when breaking from FOREACH_SET 2015-03-23 16:52:17 +01:00
Snaipe
45793a9ede Refactored types out of criterion.h 2015-03-23 00:41:48 +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
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
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