Commit graph

514 commits

Author SHA1 Message Date
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
Snaipe
d6ef9f61ad Improved assert messages 2015-09-09 01:29:20 +02:00
Snaipe
a8ecd27427 Updated asserts sample 2015-09-08 23:56:19 +02:00
Snaipe
8ac4911f19 Added assertion reference in documentation 2015-09-08 23:49:35 +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
ae429f9bd2 Fixed comparison tests to reflect the API change 2015-09-08 19:22:28 +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
f6b6139607 Fixed regression on --pattern handling 2015-09-07 16:17:16 +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
3028af859d Switched gcov to gcov 4.9 in travis config 2015-09-07 11:28:39 +02:00
Snaipe
1658c4ed72 Fixed artifacts releases on appveyor 2015-09-07 11:16:31 +02:00
Snaipe
f31a7b90d5 Cleaned up appveyor config 2015-09-07 11:04:33 +02:00
Snaipe
f2f87cdc1a Updated Setup steps in documentation 2015-09-07 11:00:52 +02:00
Snaipe
f5eefba060 Merge branch 'features/cpp-compat-2' into bleeding 2015-09-07 10:35:43 +02:00
Snaipe
7e1bdc54f8 Updated README with C++ mentions 2015-09-07 10:35:17 +02:00