From: Noah Misch Date: Mon, 11 Nov 2024 18:55:18 +0000 (-0800) Subject: src/tools/msvc: Respect REGRESS_OPTS in plcheck. X-Git-Tag: REL_13_17~4 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=9f97c31c26a9704a6b2b92778a6e0b1d3606ff5d;p=postgresql.git 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. --- diff --git a/src/tools/msvc/vcregress.pl b/src/tools/msvc/vcregress.pl index 1d92be80665..4e480f85cc0 100644 --- a/src/tools/msvc/vcregress.pl +++ b/src/tools/msvc/vcregress.pl @@ -422,13 +422,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;