diff options
Diffstat (limited to 'test/criterion.sh')
| -rwxr-xr-x | test/criterion.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/criterion.sh b/test/criterion.sh new file mode 100755 index 0000000..c5c1f04 --- /dev/null +++ b/test/criterion.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +if [ ! -f "lib/criterion/CMakeLists.txt" ]; then + echo "lib/criterion is missing. It is a git submodule from https://github.com/Snaipe/Criterion at a64b860."; + exit 1; +fi + +cd lib/criterion +mkdir -p build +cd build +cmake .. >/dev/null +cmake --build . >/dev/null |
