Snaipe
e85bfcef08
Added objective C support for CI builds with GNU compilers
2015-10-07 17:54:28 +02:00
Snaipe
0ee9649446
Fixed ObjectiveC cmake language to use the C compiler by default
2015-10-07 17:42:12 +02:00
Snaipe
2ecb8e164b
Fixed criterion_handle_args printing an error message on unknown parameters when handle_unknown_arg is true
2015-10-07 13:07:11 +02:00
Snaipe
06088a856c
[ Fixes #72 ] Added --jobs to help message
2015-10-06 16:07:28 +02: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
15f3af54fe
Fixed compilation error on MinGW due to how C++ attributes are handled
2015-10-05 20:05:54 +02:00
Snaipe
ec6ea15491
Added IRC channel to README page
2015-10-05 19:12:58 +02:00
Snaipe
c0e7486df3
Added --xml to help message and documentation
2015-10-05 16:27:31 +02:00
Snaipe
a838e7786f
Added XML logging
2015-10-05 16:22:55 +02:00
Snaipe
0d3537d891
Refactored strtok_r compatibility layer to compat/posix.h
2015-10-05 16:22:37 +02:00
Snaipe
02d46df360
Revert "Added objective C support on travis builds"
...
This reverts commit 317c851581
.
2015-10-05 13:55:02 +02:00
Snaipe
317c851581
Added objective C support on travis builds
2015-10-05 11:13:28 +02:00
Snaipe
5a1049ce2c
Added Objective-C language support
2015-10-04 23:20:41 +02:00
Franklin Mathieu
237bcb57df
Merge pull request #70 from am11/bleeding
...
config: Check strtok_s capability
2015-10-03 11:59:50 +02:00
Adeel
786e70dd1b
config: Check strtok_s capability.
...
Also cleans up redundancies and adds pragma in `UNUSED` macro.
2015-10-03 12:23:16 +03:00
Snaipe
2da6588eab
Added better integration for multiple native languages tests
2015-10-03 02:43:24 +02:00
Snaipe
1fbcecc520
Fixed dummy test still being registered
2015-10-03 00:54:16 +02:00
Snaipe
4148d3d5d4
[Issue #64 ] Prefixed all unprefixed API functions and types
2015-10-02 15:10:41 +02:00
Snaipe
c3fdc08b02
[Issue #64 ] Prefixed all unprefixed macros with CR_
2015-10-02 15:02:50 +02:00
Snaipe
0d17ecc0f5
Added missing header exports in CMake config
2015-10-02 14:45:28 +02:00
Snaipe
c530fd08eb
Merge branch 'feature/language-separation' into bleeding
2015-10-02 10:01:46 +02:00
Snaipe
10c9e4eed2
[Issues #65,#66] Delayed TAP output until the end of the tests
2015-10-02 10:00:51 +02:00
Snaipe
12787b34ba
Added analytics in README
2015-10-02 09:35:25 +02:00
Snaipe
8197bef66c
Fixed assert message being freed too early, leading to some dangling pointers to invalid memory
2015-10-02 00:58:38 +02:00
Snaipe
2d7c35b4f0
Set TERM=dumb when building on travis to get clean output
2015-10-01 23:23:05 +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
d4c306f7cd
Fixed MinGW header bug where off_t/off64_t is not defined in io.h
...
(See http://sourceforge.net/p/mingw/bugs/2024/ )
2015-10-01 15:47:42 +02:00
Snaipe
55553a0681
Cleaned up headers for wrap.cc
2015-10-01 15:36:51 +02:00
Snaipe
4dcde5259c
Added C/C++ language isolation wrappers
2015-10-01 15:05:22 +02:00
Franklin Mathieu
678bdd6ff4
Merge pull request #61 from am11/bleeding
...
Deps: Mark UNUSED parameters in valgrind header
2015-09-29 12:57:09 +02:00
Adeel
93e766b3fe
Deps: Mark UNUSED parameters in valgrind header.
...
Clang on FreeBSD was complaining:
```csh
[ 26%] Building C object CMakeFiles/criterion.dir/src/core/abort.c.o
[ 30%] Building C object CMakeFiles/criterion.dir/src/core/report.c.o
[ 30%] Building C object CMakeFiles/criterion.dir/src/core/runner.c.o
In file included from /root/projects/Criterion/Criterion/Criterion/src/core/runner.c:29:
/root/projects/Criterion/Criterion/Criterion/dependencies/valgrind/include/valgrind/valgrind.h:6223:29: error: unused
parameter 'format' [-Werror,-Wunused-parameter]
VALGRIND_PRINTF(const char *format, ...)
^
/root/projects/Criterion/Criterion/Criterion/dependencies/valgrind/include/valgrind/valgrind.h:6261:39: error: unused
parameter 'format' [-Werror,-Wunused-parameter]
VALGRIND_PRINTF_BACKTRACE(const char *format, ...)
^
2 errors generated.
```
The other way to fix it was to add a compiler option in CMake:
```cmake
add_compile_options(-Wno-unused-parameter)
```
but this approach disables the check globally.
I am not sure whether there is a way to scope
the compiler option to a subdirectory; especially
in cases where submodule (via `add_subdirectory`)
headers have unsed parameters.
2015-09-29 13:21:44 +03: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
218cd9ecfa
Added /usr/local/include as a system include directory
2015-09-28 12:26:40 +02:00
Snaipe
3fe7b41256
[Issue #59 ] Added more explicit abort messages
2015-09-27 23:49:22 +02:00
Snaipe
ee4e811bd0
Removed parallelization on mingw builds on appveyor
2015-09-27 14:15:23 +02:00
Snaipe
670e923b3f
Reduced number of cmake parallel jobs on appveyor to 2
2015-09-27 14:06:23 +02:00
Snaipe
906fec9444
Added parallel building and testing to speed up builds
2015-09-27 13:59:40 +02:00
Snaipe
50bc75f5fb
Merge branch 'features/valgrind-integration' into bleeding
2015-09-27 12:26:20 +02:00
Snaipe
0b38972f4d
Used suggested string format from generated POT file
2015-09-27 12:26:01 +02:00
Snaipe
2d016b61f9
Fixed the semantics of ASSERT in event IO
2015-09-27 02:36:28 +02:00
Snaipe
3fb26eb505
[Issue #58 ] Switched event pipe IO to use native read/write syscalls
2015-09-27 02:31:46 +02:00
Snaipe
f1dfff5756
Abort the runner when failing in the middle of reading an event
2015-09-26 18:48:15 +02:00
Snaipe
49106f4916
Made child processes finalize and exit before returning from criterion_run_all_tests
2015-09-26 17:36:39 +02:00
Snaipe
c546bcef5c
Added valgrind error suppression for the runner process
2015-09-26 17:02:28 +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
5ffd883015
Fixed inconsistent message strings for failed theories
2015-09-26 01:33:14 +02:00