Commit graph

1027 commits

Author SHA1 Message Date
Snaipe
3b0264c4c8 Added missing output header 2015-11-10 23:41:27 +01:00
Snaipe
da66a5704e Integrated new report system into core 2015-11-10 23:39:37 +01:00
Snaipe
dcfbc13773 Removed TAP & XML reporters 2015-11-10 22:23:40 +01:00
Snaipe
27991e7f66 Exported API for output registration 2015-11-10 22:11:57 +01:00
Snaipe
36543fb956 Added basic reporter/output registration 2015-11-10 22:06:21 +01:00
Snaipe
1928e161f7 Added klib cmake dependency 2015-11-10 22:05:19 +01:00
Snaipe
a45b04df4a Added klib dependency 2015-11-10 22:04:25 +01:00
Snaipe
400e989125 Fixed native exceptions gnustep compilation error 2015-11-07 11:57:25 +01:00
Snaipe
7f8c2052ac Fixed typo in GNUStep include path 2015-11-07 11:46:48 +01:00
Snaipe
6f1a472114 Added GNUStep include path to cmake include directories 2015-11-07 11:41:04 +01:00
Snaipe
4be3a015e5 Installed gnustep-devel rather than gnustep-base on travis CI 2015-10-08 13:54:21 +02:00
Snaipe
1f0743a8f5 Disabled Objective C support on windows-mingw and installed gobjc & gnustep on travis 2015-10-07 18:26:26 +02:00
Snaipe
baf93fb2f2 Added CMAKE_PLATFORM_INFO_DIR definition for CMake <2.8.10 backward compatibility 2015-10-07 17:57:53 +02:00
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