Fix example

This commit is contained in:
Patrick Niklaus 2017-03-21 00:31:44 +00:00 committed by Patrick Niklaus
parent 7278f88aa9
commit ff872b4009

View File

@ -195,7 +195,7 @@ install:
script: script:
- if [[ $TARGET_ARCH == armhf ]] ; then echo "Skip tests for $TARGET_ARCH" && exit 0 ; fi - if [[ $TARGET_ARCH == armhf ]] ; then echo "Skip tests for $TARGET_ARCH" && exit 0 ; fi
- make -C test/data benchmark - make -C test/data benchmark
- ./example/build/osrm-example test/data/berlin_CH.osrm - ./example/build/osrm-example test/data/ch/berlin.osrm
# All tests assume to be run from the build directory # All tests assume to be run from the build directory
- pushd ${OSRM_BUILD_DIR} - pushd ${OSRM_BUILD_DIR}
- ./unit_tests/library-tests - ./unit_tests/library-tests