Commit graph

718 commits

Author SHA1 Message Date
Snaipe
d59b810a56 Added Foundation framework to link flags on OS X + Clang 2015-11-16 16:06:25 +01:00
Snaipe
5e32955935 Added cmake 3.4.0 objective C compiler include fix 2015-11-16 15:13:34 +01:00
Snaipe
e41b3a6572 Removed source build for clang on osx travis builds 2015-11-12 18:26:04 +01:00
Snaipe
62e01eed74 Removed clang installation on OSX gcc builds 2015-11-12 17:02:14 +01:00
Snaipe
03ed0a910a Switched OSX image to default on travis CI builds 2015-11-12 16:54:48 +01:00
Snaipe
4322fb50cf Fixed travis script conditions 2015-11-12 16:45:32 +01:00
Snaipe
b25756b46e Install cmake on travis osx build 2015-11-12 16:36:42 +01:00
Snaipe
947bdbf4e1 Fixed typo in travis config 2015-11-12 16:23:25 +01:00
Snaipe
022cc88e24 Fixed substitution chaining not working on bash 2015-11-12 16:20:40 +01:00
Snaipe
f6cf64f71f Cleaned up travis config 2015-11-12 16:02:33 +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
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
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