mirror of
https://github.com/postgres/postgres.git
synced 2025-06-29 10:41:53 +03:00
src/tools/msvc: Respect REGRESS_OPTS in plcheck.
v16 commit 8fe3e697a1
used REGRESS_OPTS in
a way needing this. That broke "vcregress plcheck". Back-patch
v16..v12; newer versions don't have this build system.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user