Commit graph

221 commits

Author SHA1 Message Date
Snaipe
0722fd4c99 Merge branch 'features/multiple-languages' into bleeding 2015-11-16 20:01:17 +01:00
Snaipe
edc72c9554 Removed math.h dependency on base assertions 2015-11-16 18:19:26 +01:00
Snaipe
10e933d758 Fixed pedantic warnings for C99 + POSIX 2008 compatibility 2015-11-16 00:21:30 +01:00
Snaipe
554f25608f Refactored output_provider -> logger, and moved actual output providers to io/ 2015-11-11 11:04:28 +01:00
Snaipe
8659994fa9 Added auto-initializing output registration, to allow output provider registration before criterion_initialize() 2015-11-11 10:50:35 +01:00
Snaipe
770c312f70 Added --quiet CLI switch 2015-11-11 00:13:20 +01:00
Snaipe
dcfbc13773 Removed TAP & XML reporters 2015-11-10 22:23:40 +01:00
Snaipe
27991e7f66 Exported API for output registration 2015-11-10 22:11:57 +01:00
Snaipe
5fb367c338 Merge branch 'features/xml-reporting' into bleeding 2015-10-06 15:52:11 +02:00
Snaipe
3733c858cb Fixed regression tests sometimes failing because of them being time-dependent 2015-10-06 15:44:09 +02:00
Snaipe
a838e7786f Added XML logging 2015-10-05 16:22:55 +02:00
Adeel
786e70dd1b config: Check strtok_s capability.
Also cleans up redundancies and adds pragma in `UNUSED` macro.
2015-10-03 12:23:16 +03:00
Snaipe
2da6588eab Added better integration for multiple native languages tests 2015-10-03 02:43:24 +02:00
Snaipe
4148d3d5d4 [Issue #64] Prefixed all unprefixed API functions and types 2015-10-02 15:10:41 +02:00
Snaipe
c3fdc08b02 [Issue #64] Prefixed all unprefixed macros with CR_ 2015-10-02 15:02:50 +02:00
Snaipe
c530fd08eb Merge branch 'feature/language-separation' into bleeding 2015-10-02 10:01:46 +02:00
Snaipe
10c9e4eed2 [Issues #65,#66] Delayed TAP output until the end of the tests 2015-10-02 10:00:51 +02:00
Snaipe
547c77266b Added criterion_test_die to abort tests with a message on unhandled exceptions 2015-10-01 23:15:02 +02:00
Snaipe
4dcde5259c Added C/C++ language isolation wrappers 2015-10-01 15:05:22 +02:00
Snaipe
3fe7b41256 [Issue #59] Added more explicit abort messages 2015-09-27 23:49:22 +02:00
Snaipe
461c56e8e9 Removed deprecated 1.x unprefixed assertion macros 2015-09-24 00:15:32 +02:00
Snaipe
0b8680aac7 Added array-to-criterion_test_param conversion constructor 2015-09-23 21:35:05 +02:00
Snaipe
f44eb1760e Added optional cleanup parameter to conversion function 2015-09-23 20:37:09 +02:00
Snaipe
2b66cda524 Added criterion::parameters for simpler C++ parameter generation 2015-09-23 20:10:00 +02:00
Snaipe
37a043147f [Issue #54] Added custom allocator for cr_malloc/cr_free 2015-09-23 19:48:11 +02:00
Snaipe
05812ca34e Fixed buggy delete_arr 2015-09-23 19:21:32 +02:00
Snaipe
350eb235b1 [Issue #53] Removed ext/stdio_sync_filebuf.h 2015-09-23 14:12:09 +02:00
Snaipe
40dbcc3408 Added --jobs CLI switch and CRITERION_JOBS environment variable 2015-09-22 23:21:51 +02:00
Snaipe
0de2797dee Renamed assume macros for consistency 2015-09-22 12:12:54 +02:00
Snaipe
1c42bf8de0 Fixed signedness comparison warning on delete_arr 2015-09-22 01:46:56 +02:00
Snaipe
eb99798241 [Issue #51] Removed template declaration to redirection functions 2015-09-21 08:43:12 -07:00
Snaipe
2819cf9ebe Added missing alloc.h header inclusion 2015-09-21 17:11:20 +02:00
Snaipe
e2cf03c327 Fixed context passing errors for the heap and added dynamic parameter allocation for parameterized tests 2015-09-21 07:55:40 -07:00
Snaipe
5f9f617ee7 Added inheritable heap to fork process 2015-09-20 20:28:31 +02:00
Snaipe
010162f5b7 Removed capture level from designated initializer compat lambda to fix clang warnings 2015-09-20 19:44:07 +02:00
Snaipe
0da61ed2c5 Changed parameterized tests to mirror the fix to #50 2015-09-20 14:01:31 +02:00
Snaipe
d4472a1fdc Fixed header warnings and removed dynamically-embeded data in parameterized sample 2015-09-20 13:59:10 +02:00
Snaipe
d66df33a5c Updated samples and added cleanup procedure 2015-09-20 13:59:10 +02:00
Snaipe
1d908327d8 Fixed erroneous indirection logic for passed data 2015-09-20 13:59:10 +02:00
Snaipe
582fa18389 Added parameterized tests 2015-09-20 13:59:10 +02:00
Snaipe
b655e3b1f2 Merge branch 'patch' into bleeding (Fixes #50) 2015-09-20 12:49:49 +02:00
Snaipe
5ecca806e1 Changed each section entry to be a pointer to the actual test/suite structure 2015-09-20 03:35:28 -07:00
Snaipe
8688a5df4b Fixed MinGW header bug where off_t/off64_t is not defined
(See http://sourceforge.net/p/mingw/bugs/2024/)
2015-09-15 23:02:46 +02:00
Snaipe
697c165fbe Changed the timeout type to double 2015-09-15 22:56:29 +02:00
Snaipe
3a2fe96653 Added file mocking utility 2015-09-15 19:02:13 +02:00
Snaipe
8986414138 Added default message to file asserts 2015-09-14 04:15:48 +02:00
Snaipe
b0869165af Added more file assertions and file comparison function 2015-09-14 03:58:25 +02:00
Snaipe
779fbca56e Added redirection assertion shortcuts for std{out,err} 2015-09-14 03:39:52 +02:00
Snaipe
0e2203df43 Renamed file assertion macros for consistency 2015-09-14 03:35:13 +02:00
Snaipe
5e8491af90 Added any_throw and none_throw assertions 2015-09-14 03:24:25 +02:00