From: Babanpreet Singh <bbnpreetsingh@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: Khem Raj <raj.khem@gmail.com>,
Babanpreet Singh <bbnpreetsingh@gmail.com>
Subject: [meta-oe][PATCH 2/3] ptest-pgxs.bbclass: read EXTRA_REGRESS_OPTS too
Date: Fri, 4 Dec 2026 01:58:22 +0000 [thread overview]
Message-ID: <20261204015823.7-3-bbnpreetsingh@gmail.com> (raw)
In-Reply-To: <20261204015823.7-1-bbnpreetsingh@gmail.com>
pgxs passes EXTRA_REGRESS_OPTS to pg_regress ahead of REGRESS_OPTS, so
an extension can set options such as --temp-config there. The class
only read REGRESS_OPTS and dropped them.
Signed-off-by: Babanpreet Singh <bbnpreetsingh@gmail.com>
---
meta-oe/classes/ptest-pgxs.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-oe/classes/ptest-pgxs.bbclass b/meta-oe/classes/ptest-pgxs.bbclass
index e4dd4c6c07..89f482ba53 100644
--- a/meta-oe/classes/ptest-pgxs.bbclass
+++ b/meta-oe/classes/ptest-pgxs.bbclass
@@ -24,7 +24,7 @@ do_install_ptest() {
cat > ${T}/ptest-pgxs.mk << 'EOF'
ptest-pgxs-vars:
@echo "REGRESS=$(REGRESS)"
- @echo "REGRESS_OPTS=$(REGRESS_OPTS)"
+ @echo "REGRESS_OPTS=$(EXTRA_REGRESS_OPTS) $(REGRESS_OPTS)"
EOF
vars=$(oe_runmake -s -C ${B}/${PTEST_PGXS_DIR} -f Makefile -f ${T}/ptest-pgxs.mk ptest-pgxs-vars)
regress=$(echo "$vars" | sed -n 's/^REGRESS=//p')
--
2.43.0
next prev parent reply other threads:[~2026-12-04 1:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 1:58 [meta-oe][PATCH 0/3] ptest-pgxs.bbclass: three fixes from porting more extensions Babanpreet Singh
2026-12-04 1:58 ` [meta-oe][PATCH 1/3] ptest-pgxs.bbclass: install expected output from --expecteddir Babanpreet Singh
2026-12-04 1:58 ` Babanpreet Singh [this message]
2026-12-04 1:58 ` [meta-oe][PATCH 3/3] ptest-pgxs.bbclass: create the test database as UTF8 Babanpreet Singh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261204015823.7-3-bbnpreetsingh@gmail.com \
--to=bbnpreetsingh@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
--cc=raj.khem@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.