Add 'tap_tests' flag in config_default.pl
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 4 Mar 2016 15:59:47 +0000 (12:59 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 4 Mar 2016 16:08:35 +0000 (13:08 -0300)
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

src/tools/msvc/Solution.pm
src/tools/msvc/config_default.pl

index 720362aff7fe8d886f3d27f67edc0dfa373dd700..c8fa9a674d95f32b514858e3c3b4f70597283d9c 100644 (file)
@@ -631,6 +631,7 @@ sub GetFakeConfigure
    $cfg .= ' --enable-integer-datetimes'
      if ($self->{options}->{integer_datetimes});
    $cfg .= ' --enable-nls' if ($self->{options}->{nls});
+   $cfg .= ' --enable-tap-tests' if ($self->{options}->{tap_tests});
    $cfg .= ' --with-ldap'  if ($self->{options}->{ldap});
    $cfg .= ' --without-zlib' unless ($self->{options}->{zlib});
    $cfg .= ' --with-openssl'   if ($self->{options}->{ssl});
index ebb47ab40e3cb860a37ea7d05c9edc518eee6781..96512e6b54f89dce2c19a57c66278bc47f9491ee 100644 (file)
@@ -12,6 +12,7 @@ our $config = {
      # wal_segsize => 16,      # --with-wal-segsize, 16MB by default
    ldap    => 1,        # --with-ldap
    nls     => undef,    # --enable-nls=<path>
+   tap_tests => undef,  # --enable-tap-tests
    tcl     => undef,    # --with-tls=<path>
    perl    => undef,    # --with-perl
    python  => undef,    # --with-python=<path>