diff options
author | Noah Misch <noah@leadboat.com> | 2024-11-11 10:55:18 -0800 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2024-11-11 10:55:18 -0800 |
commit | c335264c9e127ca0be828fc772702674f3563ba7 (patch) | |
tree | afd4554129834909602551844c9cc7445b08d534 | |
parent | 168579e23bdbeda1a140440c0272b335d53ad061 (diff) | |
download | postgresql-c335264c9e127ca0be828fc772702674f3563ba7.tar.gz postgresql-c335264c9e127ca0be828fc772702674f3563ba7.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.
-rw-r--r-- | src/tools/msvc/vcregress.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tools/msvc/vcregress.pl b/src/tools/msvc/vcregress.pl index 78170d105d2..2fd01a49ae7 100644 --- a/src/tools/msvc/vcregress.pl +++ b/src/tools/msvc/vcregress.pl @@ -408,13 +408,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; |