diff --git a/src/tools/msvc/vcregress.pl b/src/tools/msvc/vcregress.pl index 74fb735ec43..1f6f19bd91b 100644 --- a/src/tools/msvc/vcregress.pl +++ b/src/tools/msvc/vcregress.pl @@ -404,13 +404,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;