Kevin Locke
07c380d6b7
asserts: Add assertions for wide strings
...
This commit creates _wcs_ variants of the _str_ assertions for operating
on wchar_t * instead of char *. The assertions are useful for programs
using wchar_t strings, particularly on Windows where use of the wide
character version of the Windows API is encouraged by Microsoft.
Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2016-09-10 08:48:30 +02:00
Snaipe
cfd3212a4a
sample,asserts: Fixed wrong usage of cr_assert_arr_eq_cmp in C++
2016-09-06 20:56:42 +02:00
Snaipe
d2a4124b87
style: Added and enforce uncrustify config
2016-09-05 21:32:57 +02:00
ailu
7143118b5c
api: added cr_skip_test()
...
Added cr_skip_test to skip a test during runtime. Also merged the old
disable system with the new one. All skipped tests are printed by
normal_log_post_suite(), so there is no need for a logger function for
runtime skipepd tests.
Fixes #131 .
2016-09-03 23:06:35 +02:00
Snaipe
832e9ca8a1
cmake: Removed unused SCRIPTS variable
2016-09-03 16:07:41 +02:00
Snaipe
a4ad3084a9
options: Deprecate no-early-exit
2016-09-03 16:05:53 +02:00
Snaipe
a1d690ffdb
sample: Changed parameterized test samples to not use strings
2016-09-03 15:12:28 +02:00
Snaipe
dc5248d49c
boxfort: Initial integration
2016-09-03 15:12:28 +02:00
a1lu
4d6d741357
extended glob matcher with brzozowski derivative ( #111 )
2016-07-23 22:32:57 +02:00
Snaipe
c5d9172c3d
Fixed cross-compiling of cmake subprojects
2016-02-19 21:10:15 +01:00
Snaipe
e53f3892d5
Merge branch 'features/new-logging' into bleeding
2016-02-18 00:25:45 +01:00
Snaipe
9bc0da9e83
Added C++ stream interface for logging
2016-02-18 00:05:15 +01:00
Snaipe
b8bfa34c22
Added simple message logging from a test worker
2016-02-18 00:05:14 +01:00
Snaipe
28007ab67e
Added missing array include for asserts.cc
2016-02-13 15:09:31 +01:00
Snaipe
24f90ea817
Fixed array comparison assert samples
2016-02-13 13:20:10 +01:00
Snaipe
444e393226
[samples] Unbuffered standard streams on report sample for test consistency
2016-01-20 16:04:17 +01:00
Snaipe
cc9465e133
[samples] Fixed sample with a cross platform segfault function
2016-01-20 15:03:00 +01:00
Snaipe
8b11c2d179
[cmake] Prevented function inlining for C++ samples on mingw (see mingw bug < http://sourceforge.net/p/mingw/bugs/2250/ >)
2016-01-19 23:55:01 +01:00
Snaipe
813a526c8f
[Issue #98 ] Removed undefined behaviour from signal samples
2016-01-17 11:50:10 +01:00
Snaipe
34675fe4f3
Redefine null for failure messages regression test
2016-01-17 11:50:10 +01:00
Snaipe
8d286b4334
Added the rest of the cram tests and removed old system test suite
2016-01-16 13:24:35 +01:00
Snaipe
1b8cad2162
Added basic cram tests
2016-01-14 00:38:37 +01:00
Snaipe
df7d47f184
Fixed theories regression tests
2015-12-08 01:56:01 +01:00
Snaipe
6c248da321
Removed Theory data point generation
2015-12-08 01:49:56 +01:00
Snaipe
c4bc28b7fb
Added THEORIES cmake option
2015-11-27 15:53:10 +01:00
Snaipe
fa29b3c6db
Added back GCC 4.6 support
2015-11-25 20:10:09 +01:00
Snaipe
0722fd4c99
Merge branch 'features/multiple-languages' into bleeding
2015-11-16 20:01:17 +01:00
Snaipe
62b4f2171b
Fixed failing Appveyor MinGW builds due to '_hypot' not being defined.
...
This is caused by a MinGW bug in math.h. See http://ehc.ac/p/mingw/bugs/2250/
for more information.
2015-11-16 19:25:56 +01:00
Snaipe
f0e4f758d2
Fixed regression tests being sensitive to line endings
2015-11-16 08:27:23 -08:00
Snaipe
c77ec23678
Fixed regression test for TAP output format
2015-11-12 23:37:13 +01:00
Snaipe
57b95ab03e
[Issue #73 ] Merge branch 'features/json-reporting' into bleeding
2015-11-11 13:59:48 +01:00
Snaipe
3e5f43ff74
Fixed XML regression tests
2015-11-11 13:53:07 +01:00
Snaipe
586be28378
Fixed script regression tests
2015-11-11 13:45:52 +01:00
Snaipe
a6ff1f110c
Added json regression test
2015-11-11 13:43:51 +01:00
Snaipe
5fb367c338
Merge branch 'features/xml-reporting' into bleeding
2015-10-06 15:52:11 +02:00
Snaipe
3733c858cb
Fixed regression tests sometimes failing because of them being time-dependent
2015-10-06 15:44:09 +02:00
Snaipe
72d47ef43c
Added xml tests
2015-10-06 14:58:46 +02:00
Snaipe
2da6588eab
Added better integration for multiple native languages tests
2015-10-03 02:43:24 +02:00
Snaipe
547c77266b
Added criterion_test_die to abort tests with a message on unhandled exceptions
2015-10-01 23:15:02 +02:00
Snaipe
fb6b0a6eaf
Updated theory regression test output
2015-09-28 23:01:47 +02:00
Snaipe
4352878db6
Fixed incorrect float comparison on MinGW-GCC for theory samples
2015-09-28 20:06:18 +02:00
Snaipe
9549db4fac
[Issue #60 ] Added regression tests for theories
2015-09-28 13:30:02 +02:00
Snaipe
974b7d0393
Revert "Removed theory parameter printing from sample & regression test"
...
& "Added regression tests on theories"
This reverts commits 4cc826eae3
and 6110f43d87
.
Regression tests cannot be done on the two theory samples, as they both
illustrate the consequences of testing against undefined behaviour.
A full-fledged internal test should be set up in ./samples/tests for
this purpose.
2015-09-26 01:39:17 +02:00
Snaipe
4cc826eae3
Removed theory parameter printing from sample & regression test
2015-09-26 00:36:51 +02:00
Snaipe
6110f43d87
Added regression tests on theories
2015-09-26 00:31:57 +02:00
Snaipe
0b8680aac7
Added array-to-criterion_test_param conversion constructor
2015-09-23 21:35:05 +02:00
Snaipe
b773bb61c3
Added C++ version of parameterized sample
2015-09-23 20:11:35 +02:00
Snaipe
40dbcc3408
Added --jobs CLI switch and CRITERION_JOBS environment variable
2015-09-22 23:21:51 +02:00
Snaipe
942de4a583
Fixed line numbers on regression tests for parameterized tests
2015-09-21 17:02:16 +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