Skip to content

Commit 904d875

Browse files
committed
configure: output notice that test binary is disabled by fuzzing
1 parent 0038ce9 commit 904d875

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

configure.ac

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1585,7 +1585,11 @@ AM_CONDITIONAL([ENABLE_ZMQ], [test "x$use_zmq" = "xyes"])
15851585

15861586
AC_MSG_CHECKING([whether to build test_bitcoin])
15871587
if test x$use_tests = xyes; then
1588-
AC_MSG_RESULT([yes])
1588+
if test "x$enable_fuzz" = "xyes"; then
1589+
AC_MSG_RESULT([no, because fuzzing is enabled])
1590+
else
1591+
AC_MSG_RESULT([yes])
1592+
fi
15891593
BUILD_TEST="yes"
15901594
else
15911595
AC_MSG_RESULT([no])
@@ -1761,8 +1765,10 @@ if test x$bitcoin_enable_qt != xno; then
17611765
echo " with qr = $use_qr"
17621766
fi
17631767
echo " with zmq = $use_zmq"
1764-
echo " with test = $use_tests"
1765-
if test x$use_tests != xno; then
1768+
if test x$enable_fuzz == xno; then
1769+
echo " with test = $use_tests"
1770+
else
1771+
echo " with test = not building test_bitcoin because fuzzing is enabled"
17661772
echo " with fuzz = $enable_fuzz"
17671773
fi
17681774
echo " with bench = $use_bench"

0 commit comments

Comments
 (0)