mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Add configure --enable-tap-tests option
Don't skip the TAP tests anymore when IPC::Run is not found. This will fail normally now.
This commit is contained in:
17
configure.in
17
configure.in
@ -223,6 +223,13 @@ fi
|
||||
AC_SUBST(DTRACEFLAGS)])
|
||||
AC_SUBST(enable_dtrace)
|
||||
|
||||
#
|
||||
# TAP tests
|
||||
#
|
||||
PGAC_ARG_BOOL(enable, tap-tests, no,
|
||||
[enable TAP tests (requires Perl and IPC::Run)])
|
||||
AC_SUBST(enable_tap_tests)
|
||||
|
||||
#
|
||||
# Block size
|
||||
#
|
||||
@ -1908,7 +1915,15 @@ AC_CHECK_PROGS(OSX, [osx sgml2xml sx])
|
||||
#
|
||||
# Check for test tools
|
||||
#
|
||||
AC_CHECK_PROGS(PROVE, prove)
|
||||
if test "$enable_tap_tests" = yes; then
|
||||
AC_CHECK_PROGS(PROVE, prove)
|
||||
if test -z "$PROVE"; then
|
||||
AC_MSG_ERROR([prove not found])
|
||||
fi
|
||||
if test -z "$PERL"; then
|
||||
AC_MSG_ERROR([Perl not found])
|
||||
fi
|
||||
fi
|
||||
|
||||
# Thread testing
|
||||
|
||||
|
Reference in New Issue
Block a user