This is an automated email from the ASF dual-hosted git repository.

reshke pushed a commit to branch cp_cve_14_14
in repository https://gitbox.apache.org/repos/asf/cloudberry.git

commit e92256aeb3c4d98490733ee5b937f631e969930b
Author: Noah Misch <[email protected]>
AuthorDate: Mon Nov 11 10:55:18 2024 -0800

    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.
---
 src/tools/msvc/vcregress.pl | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/tools/msvc/vcregress.pl b/src/tools/msvc/vcregress.pl
index d4e7d69df2e..f19b0a4f755 100644
--- a/src/tools/msvc/vcregress.pl
+++ b/src/tools/msvc/vcregress.pl
@@ -458,13 +458,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;


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to