Add support for PROVE_FLAGS and PROVE_TESTS in MSVC scripts

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Add support for PROVE_FLAGS and PROVE_TESTS in MSVC scripts
Date: 2021-03-03 08:19:22
Message-ID: YD9GigwHoL6lFY2y@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi all,

Each time I do development on Windows, I get annoyed by the fact that
it is not easy to run individual test scripts in the same way as we do
on any other platforms, using PROVE_TESTS, or even PROVE_FLAGS. And
there have been recent complaints about not being able to do that.

Please find attached a patch to support both variables, with some
documentation. Using a terminal on Windows, one can set those
variables using just.. "set", say:
set PROVE_FLAGS=--timer
set PROVE_TESTS=t/020*.pl t/010*.pl

Note the absence of quotes for the second one, so as it is possible to
apply cleanly glob() to each element passed down.

Thoughts?
--
Michael

Attachment Content-Type Size
win32-tap-flags.patch text/x-diff 1.7 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrey Lepikhov 2021-03-03 08:29:12 Increase value of OUTER_VAR
Previous Message Pavel Borisov 2021-03-03 08:08:00 Re: [PATCH] Improve amcheck to also check UNIQUE constraint in btree index.