aboutsummaryrefslogtreecommitdiff
path: root/ci/test/00_setup_env_native_valgrind.sh
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-04-17 09:01:54 -0400
committerMarcoFalke <falke.marco@gmail.com>2020-04-17 09:00:43 -0400
commitfaceeae49ae85fb644996fedb970ad9d0e297ca5 (patch)
tree36652c7be27cddd4e269d2ffcb97f431bd7e4de6 /ci/test/00_setup_env_native_valgrind.sh
parentc2e53ff064dfec1eb5d9c3e481cbf03ca997c6ad (diff)
downloadbitcoin-faceeae49ae85fb644996fedb970ad9d0e297ca5.tar.xz
ci: Disable valgrind functionl tests on forked repos to avoid timeouts
Diffstat (limited to 'ci/test/00_setup_env_native_valgrind.sh')
-rw-r--r--ci/test/00_setup_env_native_valgrind.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/ci/test/00_setup_env_native_valgrind.sh b/ci/test/00_setup_env_native_valgrind.sh
index 2a7b32cefc..74b3f01a18 100644
--- a/ci/test/00_setup_env_native_valgrind.sh
+++ b/ci/test/00_setup_env_native_valgrind.sh
@@ -10,6 +10,10 @@ export CONTAINER_NAME=ci_native_valgrind
export PACKAGES="valgrind clang llvm python3-zmq libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-test-dev libboost-thread-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev"
export USE_VALGRIND=1
export NO_DEPENDS=1
-export TEST_RUNNER_EXTRA="--exclude rpc_bind" # Excluded for now, see https://github.com/bitcoin/bitcoin/issues/17765#issuecomment-602068547
+if [[ "${TRAVIS}" == "true" && "${TRAVIS_REPO_SLUG}" != "bitcoin/bitcoin" ]]; then
+ export TEST_RUNNER_EXTRA="wallet_disable" # Only run wallet_disable as a smoke test to not hit the 50 min travis time limit
+else
+ export TEST_RUNNER_EXTRA="--exclude rpc_bind" # Excluded for now, see https://github.com/bitcoin/bitcoin/issues/17765#issuecomment-602068547
+fi
export GOAL="install"
export BITCOIN_CONFIG="--enable-zmq --with-incompatible-bdb --with-gui=no CC=clang CXX=clang++" # TODO enable GUI