aboutsummaryrefslogtreecommitdiff
path: root/ci/test/00_setup_env_native_asan.sh
diff options
context:
space:
mode:
authorJeffrey Czyz <jkczyz@gmail.com>2019-06-10 14:55:12 -0700
committerJeffrey Czyz <jkczyz@gmail.com>2019-11-16 08:45:21 -0800
commit15c84f53f47bf6e6a9c4c9dfe50c78d98f7ec07f (patch)
tree5f05dabc2358699e3e77ddf1d3d1742e880ee3dc /ci/test/00_setup_env_native_asan.sh
parentad715488222f2f2ce2e2cff632eae94fd49ea9c5 (diff)
downloadbitcoin-15c84f53f47bf6e6a9c4c9dfe50c78d98f7ec07f.tar.xz
Define ARENA_DEBUG in Travis test runs
The definition and uses of Arena::walk() are compiled only if ARENA_DEBUG is defined. Configure Travis to define ARENA_DEBUG so compilation errors do not go unnoticed.
Diffstat (limited to 'ci/test/00_setup_env_native_asan.sh')
-rw-r--r--ci/test/00_setup_env_native_asan.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/test/00_setup_env_native_asan.sh b/ci/test/00_setup_env_native_asan.sh
index 293f37fedf..815590b163 100644
--- a/ci/test/00_setup_env_native_asan.sh
+++ b/ci/test/00_setup_env_native_asan.sh
@@ -9,4 +9,4 @@ export LC_ALL=C.UTF-8
export PACKAGES="clang llvm python3-zmq qtbase5-dev qttools5-dev-tools libssl1.0-dev 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 libqrencode-dev"
export NO_DEPENDS=1
export GOAL="install"
-export BITCOIN_CONFIG="--enable-zmq --with-incompatible-bdb --with-gui=qt5 CPPFLAGS=-DDEBUG_LOCKORDER --with-sanitizers=address,integer,undefined CC=clang CXX=clang++"
+export BITCOIN_CONFIG="--enable-zmq --with-incompatible-bdb --with-gui=qt5 CPPFLAGS='-DARENA_DEBUG -DDEBUG_LOCKORDER' --with-sanitizers=address,integer,undefined CC=clang CXX=clang++"