Debian Codegraph @

debian/tests/cmake-test

raw symbols SCIP
1 #!/bin/sh
2
3 set -e
4
5 cp * "$AUTOPKGTEST_TMP" -Rv
6 cd "$AUTOPKGTEST_TMP"
7
8 mkdir build && cd build
9 cmake .. -DJSON_TestDataDirectory=/usr/share/json_test_data
10 make
11 # some tests requires the test directory to be available locally, while some others download the hundred
12 # megabyte stuff from Internet. We use the second approach, to avoid a huge tarball being ship with the source
13 # code, just for testing. See https://github.com/nlohmann/json/issues/2189
14 ctest -LE git_required