@@ -729,6 +729,7 @@ CPPFLAGS
729729LDFLAGS
730730CFLAGS
731731CC
732+ enable_tap_tests
732733enable_dtrace
733734DTRACEFLAGS
734735DTRACE
@@ -808,6 +809,7 @@ enable_debug
808809enable_profiling
809810enable_coverage
810811enable_dtrace
812+ enable_tap_tests
811813with_blocksize
812814with_segsize
813815with_wal_blocksize
@@ -1477,6 +1479,7 @@ Optional Features:
14771479 --enable-profiling build with profiling enabled
14781480 --enable-coverage build with coverage testing instrumentation
14791481 --enable-dtrace build with DTrace support
1482+ --enable-tap-tests enable TAP tests (requires Perl and IPC::Run)
14801483 --enable-depend turn on automatic dependency tracking
14811484 --enable-cassert enable assertion checks (for debugging)
14821485 --disable-thread-safety disable thread-safety in client libraries
@@ -3465,6 +3468,34 @@ fi
34653468
34663469
34673470
3471+ #
3472+ # TAP tests
3473+ #
3474+
3475+
3476+ # Check whether --enable-tap-tests was given.
3477+ if test " ${enable_tap_tests+set} " = set ; then :
3478+ enableval=$enable_tap_tests ;
3479+ case $enableval in
3480+ yes)
3481+ :
3482+ ;;
3483+ no)
3484+ :
3485+ ;;
3486+ * )
3487+ as_fn_error $? " no argument expected for --enable-tap-tests option" " $LINENO " 5
3488+ ;;
3489+ esac
3490+
3491+ else
3492+ enable_tap_tests=no
3493+
3494+ fi
3495+
3496+
3497+
3498+
34683499#
34693500# Block size
34703501#
@@ -14785,7 +14816,8 @@ done
1478514816#
1478614817# Check for test tools
1478714818#
14788- for ac_prog in prove
14819+ if test " $enable_tap_tests " = yes; then
14820+ for ac_prog in prove
1478914821do
1479014822 # Extract the first word of "$ac_prog", so it can be a program name with args.
1479114823set dummy $ac_prog ; ac_word=$2
@@ -14827,6 +14859,13 @@ fi
1482714859 test -n " $PROVE " && break
1482814860done
1482914861
14862+ if test -z " $PROVE " ; then
14863+ as_fn_error $? " prove not found" " $LINENO " 5
14864+ fi
14865+ if test -z " $PERL " ; then
14866+ as_fn_error $? " Perl not found" " $LINENO " 5
14867+ fi
14868+ fi
1483014869
1483114870# Thread testing
1483214871
0 commit comments