Commit graph

239 commits

Author SHA1 Message Date
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
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
Adeel
09602eb47a Build: Improves preprocessor directives for BSD.
* Also adds a search path `/usr/local/include` to top-level CMakeLists.

Fixes #48.
2015-09-19 16:28:57 +03:00
Snaipe
981e63f63b Merge branch 'patch' into bleeding (Fixes critical issue) 2015-09-19 14:55:20 +02:00
Snaipe
4e5d416114 [Issue #46] Fixed wrong setjmp usage 2015-09-19 14:46:03 +02:00
Snaipe
43865a5045 Fixed BSD check macros 2015-09-19 14:43:28 +02:00
Snaipe
98366789f6 [Issue #45] Fixed memory leak on global pipe 2015-09-18 00:46:18 +02:00
Snaipe
ab9763c8cf Fixed windows async worker termination reporting 2015-09-17 06:30:04 -07:00
Snaipe
e011939d5e Fixed OSX not registering the sigchld handler 2015-09-17 06:09:56 -07:00
Snaipe
0850658785 Changed the windows worker waiting code as well 2015-09-17 04:37:29 +02:00
Snaipe
75b9e7dae2 Changed the worker waiting code to be event-driven 2015-09-17 04:07:43 +02:00