Skip to content

Commit 9f97c31

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 6bccd7b commit 9f97c31

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/tools/msvc/vcregress.pl

+3-1
Original file line numberDiff line numberDiff line change
@@ -422,13 +422,15 @@ sub plcheck
422422
# Move on if no tests are listed.
423423
next if (scalar @tests == 0);
424424

425+
my @opts = fetchRegressOpts();
426+
425427
print
426428
"============================================================\n";
427429
print "Checking $lang\n";
428430
my @args = (
429431
"$topdir/$Config/pg_regress/pg_regress",
430432
"--bindir=$topdir/$Config/psql",
431-
"--dbname=pl_regression", @lang_args, @tests);
433+
"--dbname=pl_regression", @lang_args, @opts, @tests);
432434
system(@args);
433435
my $status = $? >> 8;
434436
exit $status if $status;

0 commit comments

Comments
 (0)