Commit 434477aa authored by Mark Andrews's avatar Mark Andrews

--enable-developer now compiles bin/tests's XTARGETS [RT #44205]

parent 0c43d503
......@@ -40,7 +40,8 @@ SUBDIRS = atomic db dst master mem hashes names \
# makejournal is needed by system tests
# Alphabetically
TARGETS = cfg_test@EXEEXT@ makejournal@EXEEXT@ wire_test@EXEEXT@
TARGETS = @XTARGETS@ cfg_test@EXEEXT@ makejournal@EXEEXT@ \
wire_test@EXEEXT@
# All the other tests are optional and not built by default.
......
......@@ -886,6 +886,7 @@ PERL
ETAGS
LN
ARFLAGS
XTARGETS
BACKTRACECFLAGS
CCNOOPT
CCOPT
......@@ -11460,6 +11461,7 @@ if test "${enable_developer+set}" = set; then :
enableval=$enable_developer;
fi
XTARGETS=
case "$enable_developer" in
yes)
STD_CDEFINES="$STD_CDEFINES -DISC_LIST_CHECKINIT=1"
......@@ -11472,9 +11474,11 @@ yes)
test "${enable_warn_error+set}" = set || enable_warn_error=yes
test "${enable_warn_shadow+set}" = set || enable_warn_shadow=yes
test "${with_zlib+set}" = set || with_zlib=yes
XTARGETS='${XTARGETS}'
;;
esac
# American Fuzzy Lop
# Check whether --enable-afl was given.
if test "${enable_afl+set}" = set; then :
......
......@@ -59,6 +59,7 @@ AC_ARG_ENABLE(warn_shadow, [ --enable-warn-shadow turn on -Wshadow when compi
AC_ARG_ENABLE(warn_error, [ --enable-warn-error turn on -Werror when compiling])
AC_ARG_ENABLE(developer, [ --enable-developer enable developer build settings])
XTARGETS=
case "$enable_developer" in
yes)
STD_CDEFINES="$STD_CDEFINES -DISC_LIST_CHECKINIT=1"
......@@ -71,8 +72,10 @@ yes)
test "${enable_warn_error+set}" = set || enable_warn_error=yes
test "${enable_warn_shadow+set}" = set || enable_warn_shadow=yes
test "${with_zlib+set}" = set || with_zlib=yes
XTARGETS='${XTARGETS}'
;;
esac
AC_SUBST(XTARGETS)
# American Fuzzy Lop
AC_ARG_ENABLE(afl, [ --enable-afl enable American Fuzzy Lop test harness [[default=no]]],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment