Skip to content

Commit 1e45746

Browse files
committed
src/tools/msvc: Respect REGRESS_OPTS in plcheck.
v16 commit 8fe3e69 used REGRESS_OPTS in a way needing this. That broke "vcregress plcheck". Back-patch v16..v12; newer versions don't have this build system.
1 parent b1e58de commit 1e45746

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/tools/msvc/vcregress.pl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,13 +420,15 @@ sub plcheck
420420
# Move on if no tests are listed.
421421
next if (scalar @tests == 0);
422422

423+
my @opts = fetchRegressOpts();
424+
423425
print
424426
"============================================================\n";
425427
print "Checking $lang\n";
426428
my @args = (
427429
"$topdir/$Config/pg_regress/pg_regress",
428430
"--bindir=$topdir/$Config/psql",
429-
"--dbname=pl_regression", @lang_args, @tests);
431+
"--dbname=pl_regression", @lang_args, @opts, @tests);
430432
system(@args);
431433
my $status = $? >> 8;
432434
exit $status if $status;

0 commit comments

Comments
 (0)