aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2024-11-11 10:55:18 -0800
committerNoah Misch <noah@leadboat.com>2024-11-11 10:56:09 -0800
commitc1fff7b1b311057fb0f8e78e7fca4efa80d48707 (patch)
treec1648e04a0daf631871180323bb4b14002e1b010 /src
parentf89bd92c963c3be30a1cf26960aa86aaad117235 (diff)
downloadpostgresql-c1fff7b1b311057fb0f8e78e7fca4efa80d48707.tar.gz
postgresql-c1fff7b1b311057fb0f8e78e7fca4efa80d48707.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/tools/msvc/vcregress.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tools/msvc/vcregress.pl b/src/tools/msvc/vcregress.pl
index c269ad28c9f..44f5b27900e 100644
--- a/src/tools/msvc/vcregress.pl
+++ b/src/tools/msvc/vcregress.pl
@@ -456,13 +456,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;