Skip to content

Commit c1fff7b

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 f89bd92 commit c1fff7b

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
@@ -456,13 +456,15 @@ sub plcheck
456456
# Move on if no tests are listed.
457457
next if (scalar @tests == 0);
458458

459+
my @opts = fetchRegressOpts();
460+
459461
print
460462
"============================================================\n";
461463
print "Checking $lang\n";
462464
my @args = (
463465
"$topdir/$Config/pg_regress/pg_regress",
464466
"--bindir=$topdir/$Config/psql",
465-
"--dbname=pl_regression", @lang_args, @tests);
467+
"--dbname=pl_regression", @lang_args, @opts, @tests);
466468
system(@args);
467469
my $status = $? >> 8;
468470
exit $status if $status;

0 commit comments

Comments
 (0)