Commit graph

497 commits

Author SHA1 Message Date
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
Snaipe
60760092b4 Fixed __VA_ARG__ warnings & added -pedantic to c++ samples 2015-09-07 10:22:37 +02:00
Snaipe
17cd3c6509 Removed bogus assert in asserts.{c,cc} samples 2015-09-07 08:45:38 +02:00
Snaipe
a9f325874a Switched type of 'passed' to bool instead of int 2015-09-07 08:37:28 +02:00
Snaipe
59e91f9404 Removed extra semicolon 2015-09-07 08:24:52 +02:00
Snaipe
47d1293303 Made the theory interface C++11-compatible 2015-09-07 08:22:02 +02:00
Snaipe
f35bc3d21c Fixed VC++ not registering any sections and internal crashes due to test data not being zero-filled 2015-09-07 07:26:53 +02:00
Snaipe
ffd6c5a5e7 Revert "Added RDP details for Appveyor VM debugging."
This reverts commit 4b2fb35d31.
2015-09-07 05:42:29 +02:00
Snaipe
18f218f4df Revert "Removed report.cc from MinGW build on appveyor"
This reverts commit 20d5f6fe59.
2015-09-07 05:42:25 +02:00
Snaipe
91200ed8dd Changed path ordering to include C:\MinGW\bin before anything else 2015-09-07 05:35:32 +02:00
Snaipe
4b2fb35d31 Added RDP details for Appveyor VM debugging. 2015-09-07 05:27:00 +02:00
Snaipe
7fca89739f Removed fast-fail flag for appveyor builds 2015-09-07 05:17:27 +02:00
Snaipe
63f47f170a Added zero-filling code for assert stats before sending them to the monitoring process 2015-09-07 05:13:34 +02:00
Snaipe
20d5f6fe59 Removed report.cc from MinGW build on appveyor 2015-09-07 03:57:00 +02:00
Snaipe
a411b22ea3 Switched appveyor badge link to display the bleeding status 2015-09-07 03:48:20 +02:00
Snaipe
b594f5cf8a Added missing section suffix on report hooks on Windows VC builds 2015-09-07 03:02:41 +02:00
Snaipe
dc0f871d0e Fixed mismatching parenthesis in section attribute on OS X 2015-09-07 02:59:29 +02:00
Snaipe
c94fef2837 Switched compiler to use gcc 4.9 2015-09-07 02:34:03 +02:00