osrm-backend/test
Patrick Niklaus 8511256779 Squashed 'third_party/libosmium/' content from commit 2282c84
git-subtree-dir: third_party/libosmium
git-subtree-split: 2282c8450bae55839372a2002db7ca754530d2fc
2016-03-01 17:56:55 +01:00
..
data-tests Squashed 'third_party/libosmium/' content from commit 2282c84 2016-03-01 17:56:55 +01:00
include Squashed 'third_party/libosmium/' content from commit 2282c84 2016-03-01 17:56:55 +01:00
t Squashed 'third_party/libosmium/' content from commit 2282c84 2016-03-01 17:56:55 +01:00
CMakeLists.txt Squashed 'third_party/libosmium/' content from commit 2282c84 2016-03-01 17:56:55 +01:00
README Squashed 'third_party/libosmium/' content from commit 2282c84 2016-03-01 17:56:55 +01:00
test_main.cpp Squashed 'third_party/libosmium/' content from commit 2282c84 2016-03-01 17:56:55 +01:00
valgrind.supp Squashed 'third_party/libosmium/' content from commit 2282c84 2016-03-01 17:56:55 +01:00

Osmium uses Catch (https://github.com/philsquared/Catch/) for its unit tests.

Only one header file is needed (catch.hpp) which can be downloaded from
http://builds.catch-lib.net/ and put into the include directory.

Osmium needs a few changes to catch.hpp, they were patched in. To be able to
compare with the original version, it is stored in include/catch_orig.hpp.

Changes are:
* Disable more warnings in GCC
* CATCH_CONFIG_CPP11_NULLPTR must be set for MSVC
* Problem with test running in loop: https://github.com/philsquared/Catch/issues/271