aboutsummaryrefslogtreecommitdiff
path: root/ci/test/00_setup_env_native_valgrind.sh
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-11-15 11:38:27 -0500
committerMarcoFalke <falke.marco@gmail.com>2019-12-10 19:37:37 -0500
commitfacb416ad5ba47b01ee52c273a5c5e3709f06f07 (patch)
tree66ef08295860af9be2eb1ed5a597cafab95ee5ce /ci/test/00_setup_env_native_valgrind.sh
parent3d6752779f0504e6435fe682f0c06c60b5c4c33b (diff)
downloadbitcoin-facb416ad5ba47b01ee52c273a5c5e3709f06f07.tar.xz
ci: Add valgrind run
Diffstat (limited to 'ci/test/00_setup_env_native_valgrind.sh')
-rw-r--r--ci/test/00_setup_env_native_valgrind.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/ci/test/00_setup_env_native_valgrind.sh b/ci/test/00_setup_env_native_valgrind.sh
new file mode 100644
index 0000000000..906ffd7d79
--- /dev/null
+++ b/ci/test/00_setup_env_native_valgrind.sh
@@ -0,0 +1,15 @@
+#!/usr/bin/env bash
+#
+# Copyright (c) 2019 The Bitcoin Core developers
+# Distributed under the MIT software license, see the accompanying
+# file COPYING or http://www.opensource.org/licenses/mit-license.php.
+
+export LC_ALL=C.UTF-8
+
+export PACKAGES="valgrind clang llvm python3-zmq libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-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="p2p_segwit.py" # Only run one test for now. TODO enable all and bump timeouts
+export RUN_FUNCTIONAL_TESTS=true
+export GOAL="install"
+export BITCOIN_CONFIG="--enable-zmq --with-incompatible-bdb --with-gui=no CC=clang CXX=clang++" # TODO enable GUI