dash/ci/test_integrationtests.sh
Alexander Block f1fe24b676 Only gracefully timeout Travis when integration tests need to be run (#2933)
* Split RUN_TESTS into RUN_UNITTESTS and RUN_INTEGRATIONTESTS

* Only gracefully timeout when RUN_INTEGRATIONTESTS=true
2019-05-23 00:21:21 +03:00

21 lines
360 B
Bash
Executable File

#!/usr/bin/env bash
# This script is executed inside the builder image
set -e
PASS_ARGS="$@"
source ./ci/matrix.sh
if [ "$RUN_INTEGRATIONTESTS" != "true" ]; then
echo "Skipping integration tests"
exit 0
fi
export LD_LIBRARY_PATH=$BUILD_DIR/depends/$HOST/lib
cd build-ci/dashcore-$BUILD_TARGET
./test/functional/test_runner.py --coverage $PASS_ARGS