Commit graph

539 commits

Author SHA1 Message Date
Snaipe
b0869165af Added more file assertions and file comparison function 2015-09-14 03:58:25 +02:00
Snaipe
9f850ef6fe Fixed regression test for assert 2015-09-14 03:42:20 +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
28144765ba Fixed comparison tests for failmessages 2015-09-14 01:47:00 +02:00
Snaipe
b893b9aba1 Fixed output directory of comparison tests 2015-09-14 01:39:47 +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
dd3f534404 Added regression tests for redirect.{c,cc} 2015-09-13 13:52:02 +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
8232862d59 Added french translation message for mismatching file contents 2015-09-13 13:11:41 +02:00
Snaipe
ac6415d465 Added C++ stream interface for redirection functions 2015-09-13 13:11:11 +02:00
Snaipe
2be4bfd241 Added C++ redirect sample 2015-09-12 10:24:00 -07: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
3b2c42eb1a [Issue #1] Merge branch 'features/timer' into bleeding 2015-09-12 17:28:19 +02: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
1d06689aa0 Enhanced redirect sample 2015-09-11 03:16:50 +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
73255382a3 Fixed stdout being macro-substitued in test name 2015-09-11 02:34:25 +02:00
Snaipe
9444d4f0a1 Fixed windows redirect pipe code 2015-09-11 02:27:08 +02:00
Snaipe
ec1095c966 Added redirect.c sample 2015-09-11 02:16:54 +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
Snaipe
7038b2dcb5 Fixed typo in french translation 2015-09-10 05:32:26 +02:00
Snaipe
e2a3a51e3c [Issue #37] Added assert message localization & french translation 2015-09-10 03:40:50 +02:00
Snaipe
343678a020 Removed samples building from 'all' target 2015-09-09 19:19:58 +02:00
Snaipe
e5ec792907 Added find module for criterion 2015-09-09 17:14:45 +02:00
Snaipe
eb80cb914a Gave the gitignore some love. 2015-09-09 17:12:42 +02:00
Snaipe
2d7456fd76 Prevent optimizations from zero-summing the wait condition on forked processes on windows 2015-09-09 16:20:49 +02:00
Snaipe
e1122855d9 Added gitter chat room & refactored a bit the readme [ci skip] 2015-09-09 04:25:29 +02:00
Snaipe
151824d96e Added missing headers in install rule 2015-09-09 03:36:41 +02:00
Snaipe
e6138cd860 Updated line numbers in pot files 2015-09-09 03:07:43 +02:00
Snaipe
099e30a4a5 Prevent bumpversion from creating a commit 2015-09-09 03:07:14 +02:00
Snaipe
352123b2d5 Fixed rare worst-case out-of-bounds access in extmatch algorithm 2015-09-09 03:00:49 +02:00
Snaipe
9896377a47 Added clarification to the proof of the extmatch length heuristic 2015-09-09 02:56:54 +02:00
Snaipe
f7d4d7616a Cleaned up sample directory 2015-09-09 02:44:34 +02:00
Snaipe
d9af4fc614 Removed legacy Makefile.am 2015-09-09 02:42:00 +02:00
Snaipe
788803d0dd Refactored CONTRIBUTING.md out of README.md 2015-09-09 02:30:48 +02:00
Snaipe
5e4c9beaa8 Added Debug directory to path for appveyor builds 2015-09-09 02:15:13 +02:00
Snaipe
fc3d34c4e2 Merge branch 'features/better-asserts' into bleeding
ChangeLog:
+ Added format strings for all assertion macros.
+ Added cr_assert_fail and cr_expect_fail.
+ Added assertions for array lexicographical comparisons.
- Deprecated: cr_abort_test.
- Deprecated: cr_{assert,expect}_strings_*, cr_{assert,expect}_arrays_*
  are now deprecated in favor of cr_{assert,expect}_str_*,
  cr_{assert,expect}_arr_* respectively.
- Breaking: cr_abort_test(NULL) is now invalid.
2015-09-09 01:52:57 +02:00
Snaipe
df8035e484 Refactored sample CMakeLists 2015-09-09 01:47:10 +02:00
Snaipe
f020119319 Added comparison test for all failure messages 2015-09-09 01:31:33 +02:00