Commit graph

215 commits

Author SHA1 Message Date
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
Snaipe
a9232f584c Added missing headers in windows build 2015-09-17 00:14:32 +02:00
Snaipe
ddc68c2e33 Exposed pipe internals for windows fork 2015-09-16 23:21:39 +02:00
Snaipe
53f73ff938 Added missing headers 2015-09-16 23:08:31 +02:00
Snaipe
9b083a14b2 Refactored most of the sources 2015-09-16 21:18:58 +02:00
Snaipe
a1d28f84e7 Refactored posix-compat.c 2015-09-16 21:00:15 +02:00
Snaipe
29dcad096b Added short-circuit for cr_file_match_file 2015-09-16 02:08:06 +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
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
98eb5e45a6 Added elapsed time on time out 2015-09-13 15:02:13 +02:00
Snaipe
98a892d344 [Issue #33] Merge branch 'features/redirect' into bleeding 2015-09-13 14:03:55 +02:00
Snaipe
17a609ba88 Fixed windows redirect code not working for stderr 2015-09-12 10:22:14 -07:00
Snaipe
6c35c64456 Fixed windows redirection not replacing standard file pointers 2015-09-12 09:33:55 -07:00
Snaipe
30e71b42eb Corrected the windows redirect code for pipe initialization 2015-09-12 08:52:03 -07:00
Snaipe
7bc54daaad Switched windows timer code to a thread-based implementation 2015-09-12 17:27:59 +02:00
Snaipe
e29d5a13cf Added timeout code for tests 2015-09-12 17:27:59 +02:00
Snaipe
d1861db6d0 Removed debug code 2015-09-11 02:50:17 +02:00
Snaipe
2642c420f4 Added missing header to posix-compat.c 2015-09-11 02:38:10 +02:00
Snaipe
9444d4f0a1 Fixed windows redirect pipe code 2015-09-11 02:27:08 +02:00
Snaipe
3dc9d47c0b Added file assertions for redirection 2015-09-11 02:15:45 +02:00
Snaipe
3744d67b0c Fixed typo in cr_redirect in windows-specific code 2015-09-10 05:36:03 +02:00
Snaipe
53c9edc23e Added redirection functions 2015-09-10 05:33:35 +02:00