Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 52fe6f4

Browse files
committed
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
1 parent 1fa2a6b commit 52fe6f4

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

src/tools/msvc/Solution.pm

+1
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,7 @@ sub GetFakeConfigure
643643
$cfg .= ' --enable-integer-datetimes'
644644
if ($self->{options}->{integer_datetimes});
645645
$cfg .= ' --enable-nls' if ($self->{options}->{nls});
646+
$cfg .= ' --enable-tap-tests' if ($self->{options}->{tap_tests});
646647
$cfg .= ' --with-ldap' if ($self->{options}->{ldap});
647648
$cfg .= ' --without-zlib' unless ($self->{options}->{zlib});
648649
$cfg .= ' --with-extra-version' if ($self->{options}->{extraver});

src/tools/msvc/config_default.pl

+14-13
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
use warnings;
44

55
our $config = {
6-
asserts => 0, # --enable-cassert
6+
asserts => 0, # --enable-cassert
77
# integer_datetimes=>1, # --enable-integer-datetimes - on is now default
88
# float4byval=>1, # --disable-float4-byval, on by default
99

@@ -13,18 +13,19 @@
1313
# blocksize => 8, # --with-blocksize, 8kB by default
1414
# wal_blocksize => 8, # --with-wal-blocksize, 8kB by default
1515
# wal_segsize => 16, # --with-wal-segsize, 16MB by default
16-
ldap => 1, # --with-ldap
17-
extraver => undef, # --with-extra-version=<string>
18-
nls => undef, # --enable-nls=<path>
19-
tcl => undef, # --with-tls=<path>
20-
perl => undef, # --with-perl
21-
python => undef, # --with-python=<path>
22-
openssl => undef, # --with-openssl=<path>
23-
uuid => undef, # --with-ossp-uuid
24-
xml => undef, # --with-libxml=<path>
25-
xslt => undef, # --with-libxslt=<path>
26-
iconv => undef, # (not in configure, path to iconv)
27-
zlib => undef # --with-zlib=<path>
16+
ldap => 1, # --with-ldap
17+
extraver => undef, # --with-extra-version=<string>
18+
nls => undef, # --enable-nls=<path>
19+
tap_tests => undef, # --enable-tap-tests
20+
tcl => undef, # --with-tls=<path>
21+
perl => undef, # --with-perl
22+
python => undef, # --with-python=<path>
23+
openssl => undef, # --with-openssl=<path>
24+
uuid => undef, # --with-ossp-uuid
25+
xml => undef, # --with-libxml=<path>
26+
xslt => undef, # --with-libxslt=<path>
27+
iconv => undef, # (not in configure, path to iconv)
28+
zlib => undef # --with-zlib=<path>
2829
};
2930

3031
1;

0 commit comments

Comments
 (0)