Commit graph

238 commits

Author SHA1 Message Date
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
Snaipe
d4271865bc Added default message for throw assertions 2015-09-14 02:14:46 +02:00
Snaipe
98a892d344 [Issue #33] Merge branch 'features/redirect' into bleeding 2015-09-13 14:03:55 +02:00
Snaipe
20c93d86de Fixed GCC-specific code being visible to MSVC 2015-09-13 13:45:10 +02:00
Snaipe
9882f987cf Fixed memory leak on cr_assert() 2015-09-13 13:12:16 +02:00
Snaipe
ac6415d465 Added C++ stream interface for redirection functions 2015-09-13 13:11:11 +02:00
Snaipe
e29d5a13cf Added timeout code for tests 2015-09-12 17:27:59 +02:00
Snaipe
3dc9d47c0b Added file assertions for redirection 2015-09-11 02:15:45 +02:00
Snaipe
53c9edc23e Added redirection functions 2015-09-10 05:33:35 +02:00
Snaipe
e2a3a51e3c [Issue #37] Added assert message localization & french translation 2015-09-10 03:40:50 +02:00
Snaipe
d6ef9f61ad Improved assert messages 2015-09-09 01:29:20 +02:00
Snaipe
565ed9a672 Made the deprecation message work with MSVC 2015-09-08 23:08:27 +02:00
Snaipe
d1fce372a4 Reformatted criterion/assert.h 2015-09-08 23:07:45 +02:00
Snaipe
8628b5fbea Removed unused exception variable name from throw assersions 2015-09-08 22:48:06 +02:00
Snaipe
3ba88bb314 Extracted GCC-specific pragma from the assert macro 2015-09-08 22:41:50 +02:00
Snaipe
5247808140 Renamed asprintf to cr_asprintf for compatibility 2015-09-08 22:12:22 +02:00
Snaipe
29860d46be Made criterion_continue_test static 2015-09-08 20:48:30 +02:00
Snaipe
9969604915 Moved the pipe definition out of the API, and use the system asprintf declaration when available 2015-09-08 20:36:23 +02:00
Snaipe
9c58e8d1e1 Added empty string assertions 2015-09-08 20:25:22 +02:00
Snaipe
01831b2ed5 Fixed crashes introduced by the API change 2015-09-08 19:21:53 +02:00
Snaipe
4d114fdd38 Changed the assert interface to accept a format string 2015-09-08 18:49:24 +02:00
Snaipe
b8374bca16 [Issue #36] Added throw assertions 2015-09-07 20:09:28 +02:00
Snaipe
afad78c433 Added generated datapoints theory sample 2015-09-07 18:03:05 +02:00
Snaipe
d7466dc0e5 Refactored the default main to allow dynamic test registration 2015-09-07 15:55:36 +02:00
Snaipe
aca092b9d6 Refactored CLI parameter handling in its own function for reusability 2015-09-07 15:27:15 +02:00
Snaipe
60760092b4 Fixed __VA_ARG__ warnings & added -pedantic to c++ samples 2015-09-07 10:22:37 +02:00
Snaipe
a9f325874a Switched type of 'passed' to bool instead of int 2015-09-07 08:37:28 +02:00