osrm-backend/docker/test.sh

22 lines
378 B
Bash
Raw Normal View History

2015-03-13 10:53:40 -04:00
#!/usr/bin/env bash
set -e
set -o pipefail
2015-08-02 08:45:20 -04:00
export CMAKEOPTIONS="-DCMAKE_BUILD_TYPE=Release"
2015-03-13 10:53:40 -04:00
2015-03-16 07:38:52 -04:00
cd /home/mapbox/osrm-backend
[ -d build ] && rm -rf build
2015-03-13 10:53:40 -04:00
mkdir -p build
cd build
cmake .. $CMAKEOPTIONS -DBUILD_TOOLS=1
make -j`nproc`
make tests -j`nproc`
#./unit_tests/server-tests
#./unit_tests/library-tests
#./unit_tests/extractor-tests
#./unit_tests/util-tests
2015-03-13 10:53:40 -04:00
cd ..
npm test