Re: Equivalent of --enable-tap-tests in MSVC scripts

From: Craig Ringer <craig(at)2ndquadrant(dot)com>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Equivalent of --enable-tap-tests in MSVC scripts
Date: 2016-03-01 14:25:01
Message-ID: CAMsr+YFMtbOwOVMAV3T-XZk9SfPhsnw8w+-Fk0VEVgBM+b8w3Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 1 March 2016 at 21:00, Michael Paquier <michael(dot)paquier(at)gmail(dot)com> wrote:

> Hi all,
>
> As of now the MSVC scripts control if TAP tests are enabled or not
> using a boolean flag as $config->{tap_tests}. However, this flag is
> just taken into account in vcregress.pl, with the following issues:
> 1) config_default.pl does not list tap_tests, so it is unclear to
> users to enable them. People need to look into vcregress.pl as a start
> point.
>

Seems like a no-brainer.

> 2) GetFakeConfigure() does not translate $config->{tap_tests} into
> --enable-tap-tests, leading to pg_config not reporting it in
> CONFIGURE. This is inconsistent with what is done in ./configure.
>

You seem to have re-indented config_default.pl at the same time.

That's worth doing but shouldn't be in the same patch, it makes it hard to
see what actually changed. Yes, that's a nitpick, but it makes a 1-liner
patch into a lot more.

--
Craig Ringer http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Craig Ringer 2016-03-01 14:28:40 Re: TAP / recovery-test fs-level backups, psql enhancements etc
Previous Message Pavel Stehule 2016-03-01 14:15:06 Sort returns more rows than seq scan?