Snaipe
d6b95f93b6
cram: Fixed MSYS2 expanding patterns as paths
2016-09-03 16:48:46 +02:00
Snaipe
ada75ab25c
cram: Updated test diffs
2016-09-03 16:22:42 +02:00
Snaipe
a4ad3084a9
options: Deprecate no-early-exit
2016-09-03 16:05:53 +02:00
Snaipe
70f2630ae2
cram: Fixed test diffs
2016-09-03 15:14:06 +02:00
Snaipe
a1d690ffdb
sample: Changed parameterized test samples to not use strings
2016-09-03 15:12:28 +02:00
Snaipe
c081c31228
cram: Fixed invalid line test for parameterized.cc
2016-09-03 15:12:28 +02:00
a1lu
25d444b1b9
cli: Added --crash cli option ( #126 ) ( #139 )
...
If a assert fails and --crash is given, the debugger will trapped in
this assert using debugbreak.h from the new debugbreak submodule.
2016-08-22 10:17:55 +02:00
Snaipe
9fbd28bf69
core: .exit_code = 0
now enforces the test exit status to be 0.
...
Before this change, an exit_code of 0 would allow a test to pass for any
exit status, because checking for 0 meant that the value was optional
and people did not care.
However, the semantics of exit() tells that 0 shall be synonymous of
success, and allowing a nonzero status to pass the test is unexpected.
This fixes issue #137 .
2016-07-28 18:11:45 +02:00
a1lu
4d6d741357
extended glob matcher with brzozowski derivative ( #111 )
2016-07-23 22:32:57 +02:00
Kevin Locke
98b63bd041
Allow nullptr or __null in asserts.t
...
Libc in FreeBSD 10.3 defines NULL to nullptr rather than __null. Allow
this in the test output.
Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2016-06-28 17:33:00 -07:00
commit
f201d85e3c
Behavior of cr_assert_str* assertions changed:
...
- Default assertion messages will now print the expession and the content of both strings.
- String assertions will not crash, if the actual string is NULL.
(cr_assert_not_null(actual) is called before the cr_assert_str* assertion)
2016-06-07 16:56:17 +02:00
Snaipe
0c389023ec
cram: Remove cmake dependency on target criterion_samples
2016-05-05 16:28:36 +02:00
commit
f5340f8f27
XML: The output parameter --xml now generates xml-files with the elapsed time.
2016-04-19 19:16:15 +02:00
Franklin Mathieu
1f7ca2f32b
Merge pull request #101 from kaidowei/bleeding
...
cli: Strip red ANSI color from the failing & crashing summary if there were no errored tests.
2016-04-13 15:37:40 +02:00
Snaipe
38653a6414
Merge branch 'master' into bleeding
...
This merges the changes brought by 2.2.1 into bleeding.
2016-04-13 11:57:37 +02:00
Snaipe
c5b4ca27d7
Fixed redirected standard streams being leaked by cr_(assert|expect)_std(out|err)
2016-03-05 15:51:50 +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
4241b4e517
Added cram test for log.c
2016-02-18 00:05:15 +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
commit
f442488f19
Visibility change:
...
The numbers next to Failing and Crashing in the text synthesis will not be printed red, if they are zero.
2016-02-11 14:31:35 +01:00
Snaipe
c507434dca
Actually fix the pattern tests this time
2016-01-23 10:54:57 +01:00
Snaipe
f1bd35f81b
Fixed pattern tests not running when PCRE is present
2016-01-23 03:04:50 +01:00
Snaipe
a670f7c361
[cram] Made the usage tests ignore absolute paths and --pattern options
2016-01-20 16:04:18 +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
033bcacf7f
[cram] Skip pattern tests on windows
2016-01-20 12:51:06 +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
e8ec14e276
[cmake] Fixed cram module not failing when the cram tests fail
2016-01-19 00:30:31 +01:00
Snaipe
60de40708d
[cmake] Fixed path passed to cram on windows builds
2016-01-19 00:15:23 +01:00
Snaipe
4530d10af7
[cmake] Added generator propagation to subprojects
2016-01-18 21:55:22 +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
02194aa132
Fixed cram target not being run on cmake 2.8.x
2016-01-16 15:34:32 +01:00
Snaipe
7faaa7656f
[Issue #95 ] Fixed fail fast and added proper SIGTERM handling
2016-01-16 14:47:46 +01:00
Snaipe
bfc29532cd
Moved cram tests into their own subdirectory
2016-01-16 13:28:11 +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
14d8019dce
Added cram tests for theories, redirections, report hooks, and patterns
2016-01-14 15:36:06 +01:00
Snaipe
6fff06a2ee
Made cram tests run on travis
2016-01-14 12:25:46 +01:00
Snaipe
1a3cb4e2b1
Added more cram tests
2016-01-14 11:12:24 +01:00
Snaipe
1b8cad2162
Added basic cram tests
2016-01-14 00:38:37 +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
7fa0b6580b
Refactored internal headers into its own subdirectory
2015-11-17 16:30:00 +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
d165e99e91
Relaxed io tests timeout to 1 second
2015-11-11 11:07:47 +01:00
Snaipe
2da6588eab
Added better integration for multiple native languages tests
2015-10-03 02:43:24 +02:00
Snaipe
013992d9cd
Removed asprintf::invalid test
2015-09-23 13:30:08 -07:00