mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
f1fe24b676
* Split RUN_TESTS into RUN_UNITTESTS and RUN_INTEGRATIONTESTS * Only gracefully timeout when RUN_INTEGRATIONTESTS=true
21 lines
360 B
Bash
Executable File
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
|