Add 'tap_tests' flag in config_default.pl

This makes the flag more visible for testers using the default file as a
template, increasing the likelyhood that the test suite will be run.
Also have the flag be displayed in the fake "configure" output, if set.

This patch is two new lines only, but perltidy decides to shift things
around which makes it appear a bit bigger.

Author: Michaël Paquier
Reviewed-by: Craig Ringer
Discussion: https://www.postgresql.org/message-id/CAB7nPqRet6UAP2APhZAZw%3DVhJ6w-Q-gGLdZkrOqFgd2vc9-ZDw%40mail.gmail.com
This commit is contained in:
Alvaro Herrera 2016-03-04 12:59:47 -03:00
parent 1fa2a6b1d4
commit 52fe6f4e02
2 changed files with 15 additions and 13 deletions

@ -643,6 +643,7 @@ sub GetFakeConfigure
$cfg .= ' --enable-integer-datetimes' $cfg .= ' --enable-integer-datetimes'
if ($self->{options}->{integer_datetimes}); if ($self->{options}->{integer_datetimes});
$cfg .= ' --enable-nls' if ($self->{options}->{nls}); $cfg .= ' --enable-nls' if ($self->{options}->{nls});
$cfg .= ' --enable-tap-tests' if ($self->{options}->{tap_tests});
$cfg .= ' --with-ldap' if ($self->{options}->{ldap}); $cfg .= ' --with-ldap' if ($self->{options}->{ldap});
$cfg .= ' --without-zlib' unless ($self->{options}->{zlib}); $cfg .= ' --without-zlib' unless ($self->{options}->{zlib});
$cfg .= ' --with-extra-version' if ($self->{options}->{extraver}); $cfg .= ' --with-extra-version' if ($self->{options}->{extraver});

@ -3,7 +3,7 @@ use strict;
use warnings; use warnings;
our $config = { our $config = {
asserts => 0, # --enable-cassert asserts => 0, # --enable-cassert
# integer_datetimes=>1, # --enable-integer-datetimes - on is now default # integer_datetimes=>1, # --enable-integer-datetimes - on is now default
# float4byval=>1, # --disable-float4-byval, on by default # float4byval=>1, # --disable-float4-byval, on by default
@ -13,18 +13,19 @@ our $config = {
# blocksize => 8, # --with-blocksize, 8kB by default # blocksize => 8, # --with-blocksize, 8kB by default
# wal_blocksize => 8, # --with-wal-blocksize, 8kB by default # wal_blocksize => 8, # --with-wal-blocksize, 8kB by default
# wal_segsize => 16, # --with-wal-segsize, 16MB by default # wal_segsize => 16, # --with-wal-segsize, 16MB by default
ldap => 1, # --with-ldap ldap => 1, # --with-ldap
extraver => undef, # --with-extra-version=<string> extraver => undef, # --with-extra-version=<string>
nls => undef, # --enable-nls=<path> nls => undef, # --enable-nls=<path>
tcl => undef, # --with-tls=<path> tap_tests => undef, # --enable-tap-tests
perl => undef, # --with-perl tcl => undef, # --with-tls=<path>
python => undef, # --with-python=<path> perl => undef, # --with-perl
openssl => undef, # --with-openssl=<path> python => undef, # --with-python=<path>
uuid => undef, # --with-ossp-uuid openssl => undef, # --with-openssl=<path>
xml => undef, # --with-libxml=<path> uuid => undef, # --with-ossp-uuid
xslt => undef, # --with-libxslt=<path> xml => undef, # --with-libxml=<path>
iconv => undef, # (not in configure, path to iconv) xslt => undef, # --with-libxslt=<path>
zlib => undef # --with-zlib=<path> iconv => undef, # (not in configure, path to iconv)
zlib => undef # --with-zlib=<path>
}; };
1; 1;