postgres.git / summary / log / commit / refs
commit 16ed4f4d08d69f2aced8ece69ba1076b48c9ce06
Author: Noah Misch <noah@leadboat.com>
Date: Mon Nov 11 18:55:18 2024 +0000
First released in: 12.21, 13.17, 14.14, 15.9, 16.5
src/tools/msvc: Respect REGRESS_OPTS in plcheck.
v16 commit 8fe3e697a1a83a722b107c7cb9c31084e1f4d077 used REGRESS_OPTS in
a way needing this. That broke "vcregress plcheck". Back-patch
v16..v12; newer versions don't have this build system.
src/tools/msvc/vcregress.pl | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/tools/msvc/vcregress.pl b/src/tools/msvc/vcregress.pl
index 74fb735ec43..1f6f19bd91b 100644
--- a/src/tools/msvc/vcregress.pl
+++ b/src/tools/msvc/vcregress.pl
@@ -404,13 +404,15 @@ sub plcheck
# Move on if no tests are listed.
next if (scalar @tests == 0);
+ my @opts = fetchRegressOpts();
+
print
"============================================================\n";
print "Checking $lang\n";
my @args = (
"$topdir/$Config/pg_regress/pg_regress",
"--bindir=$topdir/$Config/psql",
- "--dbname=pl_regression", @lang_args, @tests);
+ "--dbname=pl_regression", @lang_args, @opts, @tests);
system(@args);
my $status = $? >> 8;
exit $status if $status;
[parent: a5d2e6205f71]