Commit graph

352 commits

Author SHA1 Message Date
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
1fbcecc520 Fixed dummy test still being registered 2015-10-03 00:54:16 +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
8197bef66c Fixed assert message being freed too early, leading to some dangling pointers to invalid memory 2015-10-02 00:58:38 +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
d4c306f7cd Fixed MinGW header bug where off_t/off64_t is not defined in io.h
(See http://sourceforge.net/p/mingw/bugs/2024/)
2015-10-01 15:47:42 +02:00
Snaipe
55553a0681 Cleaned up headers for wrap.cc 2015-10-01 15:36:51 +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
50bc75f5fb Merge branch 'features/valgrind-integration' into bleeding 2015-09-27 12:26:20 +02:00
Snaipe
2d016b61f9 Fixed the semantics of ASSERT in event IO 2015-09-27 02:36:28 +02:00
Snaipe
3fb26eb505 [Issue #58] Switched event pipe IO to use native read/write syscalls 2015-09-27 02:31:46 +02:00
Snaipe
f1dfff5756 Abort the runner when failing in the middle of reading an event 2015-09-26 18:48:15 +02:00
Snaipe
49106f4916 Made child processes finalize and exit before returning from criterion_run_all_tests 2015-09-26 17:36:39 +02:00
Snaipe
c546bcef5c Added valgrind error suppression for the runner process 2015-09-26 17:02:28 +02:00
Snaipe
5ffd883015 Fixed inconsistent message strings for failed theories 2015-09-26 01:33:14 +02:00
Snaipe
2b9f14041c Added sane option defaults when running valgrind 2015-09-26 00:22:21 +02:00
Snaipe
b347b70bdb Refactored runner coroutine into its own file 2015-09-24 16:08:58 +02:00
Snaipe
5ec278c7d6 Fixed memory leaks 2015-09-24 01:14:16 +02:00
Snaipe
13760d0447 Fixed BSD unused warning 2015-09-23 22:34:27 +02:00
Snaipe
665dd40059 Fixed BSD & OSX get_processor_count implementation 2015-09-23 13:29:31 -07:00
Snaipe
a6f2bbb4c2 Boyscouting. 2015-09-23 01:59:31 +02:00
Snaipe
ace14dc3bc Fixed sysctl errors being ignored when getting the number of processors on BSD 2015-09-23 00:42:30 +02:00
Snaipe
080c10ebad Fixed clang warnings over partial initialization in coroutine 2015-09-23 00:34:30 +02:00
Snaipe
2c76e45479 Fixed missing typedefs on BSD 2015-09-22 23:30:53 +02:00
Snaipe
40dbcc3408 Added --jobs CLI switch and CRITERION_JOBS environment variable 2015-09-22 23:21:51 +02:00
Snaipe
eac6ee518d Fixed various memory and logic errors 2015-09-22 22:32:32 +02:00
Snaipe
a086aa995c Added parallelisation code & cleaned up runner code 2015-09-22 21:43:22 +02:00
Snaipe
ca85603b0d Removed unused include 2015-09-22 12:14:33 +02:00
Snaipe
7efbac94d1 Fixed wrong setjmp usage in theory main and cleaned up function 2015-09-21 13:02:51 -07:00
Snaipe
87cfa36481 Fixed warnings on Release builds 2015-09-21 20:32:56 +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
40f7646e22 Added retry routine on heap creation until the base address is suitable. 2015-09-21 07:03:11 -07:00
Snaipe
e0b3182786 Revert "Added garbage, low quality memory allocator as cr_malloc implementation"
This reverts commit 2d95fa4bde.
2015-09-21 06:39:40 -07:00
Snaipe
2d95fa4bde Added garbage, low quality memory allocator as cr_malloc implementation 2015-09-20 18:24:09 -07:00
Snaipe
4352c402c0 Revert "Delayed private heap allocation to after child the process started on windows"
This reverts commit acce462995.
2015-09-21 03:17:25 +02:00
Snaipe
acce462995 Delayed private heap allocation to after child the process started on windows 2015-09-21 00:03:08 +02:00
Snaipe
5f9f617ee7 Added inheritable heap to fork process 2015-09-20 20:28:31 +02:00
Snaipe
d66df33a5c Updated samples and added cleanup procedure 2015-09-20 13:59:10 +02:00
Snaipe
12a0d6c190 Fixed invalid setjmp usage 2015-09-20 13:59:10 +02:00
Snaipe
3d6bd31905 Removed the hard 1024-byte limit on passed user data for parameterized tests 2015-09-20 13:59:10 +02:00
Snaipe
b10d6fb165 Fixed invalid context passing in windows fork code 2015-09-20 13:59:10 +02:00
Snaipe
dd41497476 Removed stray semicolon and fixed signed/unsigned comparison warning on windows 2015-09-20 13:59:10 +02:00
Snaipe
f09dff7d28 Fixed context passing error with parameterized tests 2015-09-20 13:59:10 +02:00
Snaipe
c30e70da59 Fixed windows compilation errors 2015-09-20 13:59:10 +02:00
Snaipe
c5e6d0c770 Handle safely winfork failures 2015-09-20 13:59:10 +02:00