Merge #20609: configure: output notice that test binary is disabled by fuzzing

904d875cf5aecc337daa6a2243a803033cf4eee3 configure: output notice that test binary is disabled by fuzzing (Andrew Poelstra)

Pull request description:

  I wasted a bit of time today running a stale `test_bitcoin` and not understanding why, until I remembered that I'd ./configured my working directory with --enable-fuzz.

Top commit has no ACKs.

Tree-SHA512: 6cbe30547332114ad3fe61c67e224f5a28aac4b1b58e0acecb29cb04f5a34f792c927797aa8000449aae076435bd45acf209b7323b0b48fa971705d6ed3e6529
This commit is contained in:
MarcoFalke 2020-12-10 09:10:58 +01:00 committed by PastaPastaPasta
parent 98b2a567ab
commit 48b92ec762

View File

@ -1685,7 +1685,11 @@ AM_CONDITIONAL([ENABLE_ZMQ], [test "x$use_zmq" = "xyes"])
AC_MSG_CHECKING([whether to build test_dash]) AC_MSG_CHECKING([whether to build test_dash])
if test x$use_tests = xyes; then if test x$use_tests = xyes; then
AC_MSG_RESULT([yes]) if test "x$enable_fuzz" = "xyes"; then
AC_MSG_RESULT([no, because fuzzing is enabled])
else
AC_MSG_RESULT([yes])
fi
BUILD_TEST="yes" BUILD_TEST="yes"
else else
AC_MSG_RESULT([no]) AC_MSG_RESULT([no])
@ -1877,11 +1881,13 @@ if test x$bitcoin_enable_qt != xno; then
echo " with qr = $use_qr" echo " with qr = $use_qr"
fi fi
echo " with zmq = $use_zmq" echo " with zmq = $use_zmq"
echo " with test = $use_tests" if test x$enable_fuzz == xno; then
echo " with bench = $use_bench" echo " with test = $use_tests"
if test x$use_tests != xno; then else
echo " with fuzz = $enable_fuzz" echo " with test = not building test_dash because fuzzing is enabled"
echo " with fuzz = $enable_fuzz"
fi fi
echo " with bench = $use_bench"
echo " with upnp = $use_upnp" echo " with upnp = $use_upnp"
echo " with natpmp = $use_natpmp" echo " with natpmp = $use_natpmp"
echo " use asm = $use_asm" echo " use asm = $use_asm"