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.
This commit is contained in:
parent
b1e58defb6
commit
1e457468f0
@ -420,13 +420,15 @@ sub plcheck
|
|||||||
# Move on if no tests are listed.
|
# Move on if no tests are listed.
|
||||||
next if (scalar @tests == 0);
|
next if (scalar @tests == 0);
|
||||||
|
|
||||||
|
my @opts = fetchRegressOpts();
|
||||||
|
|
||||||
print
|
print
|
||||||
"============================================================\n";
|
"============================================================\n";
|
||||||
print "Checking $lang\n";
|
print "Checking $lang\n";
|
||||||
my @args = (
|
my @args = (
|
||||||
"$topdir/$Config/pg_regress/pg_regress",
|
"$topdir/$Config/pg_regress/pg_regress",
|
||||||
"--bindir=$topdir/$Config/psql",
|
"--bindir=$topdir/$Config/psql",
|
||||||
"--dbname=pl_regression", @lang_args, @tests);
|
"--dbname=pl_regression", @lang_args, @opts, @tests);
|
||||||
system(@args);
|
system(@args);
|
||||||
my $status = $? >> 8;
|
my $status = $? >> 8;
|
||||||
exit $status if $status;
|
exit $status if $status;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user