Commit graph

245 commits

Author SHA1 Message Date
Snaipe
59e91f9404 Removed extra semicolon 2015-09-07 08:24:52 +02:00
Snaipe
47d1293303 Made the theory interface C++11-compatible 2015-09-07 08:22:02 +02:00
Snaipe
f35bc3d21c Fixed VC++ not registering any sections and internal crashes due to test data not being zero-filled 2015-09-07 07:26:53 +02:00
Snaipe
63f47f170a Added zero-filling code for assert stats before sending them to the monitoring process 2015-09-07 05:13:34 +02:00
Snaipe
b594f5cf8a Added missing section suffix on report hooks on Windows VC builds 2015-09-07 03:02:41 +02:00
Snaipe
dc0f871d0e Fixed mismatching parenthesis in section attribute on OS X 2015-09-07 02:59:29 +02:00
Snaipe
ba051b8869 Fixed missing initializer for C samples on assert substitution 2015-09-07 02:20:18 +02:00
Snaipe
8e66ff173f Restored cr_abort_test default message 2015-09-07 01:57:05 +02:00
Snaipe
416b034fe1 Made the interface C++11-compatible 2015-09-07 01:15:31 +02:00
Snaipe
c03a149507 Added common usage assume macro functions for theories 2015-09-06 21:59:50 +02:00
Snaipe
7577cf8940 Fixed all criterion-related warnings with MSVC 2015-09-06 07:23:21 -07:00
Snaipe
45fc694639 Marked with dllexport/import API functions 2015-09-06 00:37:30 +02:00
Snaipe
11eb4a9f10 Added __VA_ARGS__ macro expansions in theories.h for MSVC compatibility 2015-09-05 10:38:24 -07:00
Snaipe
e8e81a7dd5 Added expansion round on __VA_ARGS__ in assert macros for MSVC compatibility 2015-09-05 10:08:59 -07:00
Snaipe
d756a2f858 Started to take another try for MSVC compatibility 2015-09-05 15:31:14 +02:00
Snaipe
5d25030a6c [Issue #31] Merge branch 'features/theories' into bleeding 2015-09-03 19:00:15 +02:00
Snaipe
1757752dd1 Added reporting & logging on theory failure 2015-09-03 17:29:46 +02:00
Snaipe
c9501805b6 Added support for theories 2015-09-03 06:38:44 +02:00
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