aboutsummaryrefslogtreecommitdiff
path: root/ci/test/00_setup_env_native_qt5.sh
diff options
context:
space:
mode:
authorDan Benjamin <danben@gmail.com>2021-01-24 11:09:24 -0500
committerDan Benjamin <danben@gmail.com>2021-02-05 19:52:45 -0500
commit32cbb06676e2957705d3ca7ff5710c9c3ff22c14 (patch)
tree62c70a0957fdb7b6b04acf0f79731af8d9ace135 /ci/test/00_setup_env_native_qt5.sh
parent6c6140846f37de8c132b3b6abf09f3d7940554a7 (diff)
downloadbitcoin-32cbb06676e2957705d3ca7ff5710c9c3ff22c14.tar.xz
build: build fuzz tests by default.
This fixes issue #19388. The changes are as follows: - Add a new flag to configure, --enable-fuzz-binary, which allows building test/fuzz/fuzz regardless of whether we are building to do actual fuzzing - Set -DPROVIDE_MAIN_FUNCTION whenever --enable-fuzz is no - Add the following libraries to FUZZ_SUITE_LD_COMMON: - LIBBITCOIN_WALLET - SQLLITE_LIBS - BDB_LIBS - if necessary, some or all of: - NATPMP_LIBS - MINIUPNPC_LIBS - LIBBITCOIN_ZMQ / ZMQ_LIBS
Diffstat (limited to 'ci/test/00_setup_env_native_qt5.sh')
-rw-r--r--ci/test/00_setup_env_native_qt5.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/ci/test/00_setup_env_native_qt5.sh b/ci/test/00_setup_env_native_qt5.sh
index 567145fe47..bbc43cfabd 100644
--- a/ci/test/00_setup_env_native_qt5.sh
+++ b/ci/test/00_setup_env_native_qt5.sh
@@ -16,4 +16,5 @@ export RUN_UNIT_TESTS_SEQUENTIAL="true"
export RUN_UNIT_TESTS="false"
export GOAL="install"
export PREVIOUS_RELEASES_TO_DOWNLOAD="v0.15.2 v0.16.3 v0.17.2 v0.18.1 v0.19.1"
-export BITCOIN_CONFIG="--enable-zmq --with-libs=no --with-gui=qt5 --enable-glibc-back-compat --enable-reduce-exports --enable-debug CFLAGS=\"-g0 -O2 -funsigned-char\" CXXFLAGS=\"-g0 -O2 -funsigned-char\" --with-boost-process"
+export BITCOIN_CONFIG="--enable-zmq --with-libs=no --with-gui=qt5 --enable-glibc-back-compat --enable-reduce-exports
+--enable-debug --disable-fuzz-binary CFLAGS=\"-g0 -O2 -funsigned-char\" CXXFLAGS=\"-g0 -O2 -funsigned-char\" --with-boost-process"