Skip to content

Commit faceeae

Browse files
author
MarcoFalke
committed
ci: Disable valgrind functionl tests on forked repos to avoid timeouts
1 parent c2e53ff commit faceeae

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

ci/test/00_setup_env_native_valgrind.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ export CONTAINER_NAME=ci_native_valgrind
1010
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"
1111
export USE_VALGRIND=1
1212
export NO_DEPENDS=1
13-
export TEST_RUNNER_EXTRA="--exclude rpc_bind" # Excluded for now, see https://github.com/bitcoin/bitcoin/issues/17765#issuecomment-602068547
13+
if [[ "${TRAVIS}" == "true" && "${TRAVIS_REPO_SLUG}" != "bitcoin/bitcoin" ]]; then
14+
export TEST_RUNNER_EXTRA="wallet_disable" # Only run wallet_disable as a smoke test to not hit the 50 min travis time limit
15+
else
16+
export TEST_RUNNER_EXTRA="--exclude rpc_bind" # Excluded for now, see https://github.com/bitcoin/bitcoin/issues/17765#issuecomment-602068547
17+
fi
1418
export GOAL="install"
1519
export BITCOIN_CONFIG="--enable-zmq --with-incompatible-bdb --with-gui=no CC=clang CXX=clang++" # TODO enable GUI

ci/test/06_script_a.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ BEGIN_FOLD build
4343
DOCKER_EXEC make $MAKEJOBS $GOAL || ( echo "Build failure. Verbose build follows." && DOCKER_EXEC make $GOAL V=1 ; false )
4444
END_FOLD
4545

46-
BEGIN_FOLD ccache_stats
46+
BEGIN_FOLD cache_stats
4747
DOCKER_EXEC "ccache --version | head -n 1 && ccache --show-stats"
48+
DOCKER_EXEC du -sh "${DEPENDS_DIR}"/*/
49+
DOCKER_EXEC du -sh "${PREVIOUS_RELEASES_DIR}"
4850
END_FOLD

0 commit comments

Comments
 (0)