Openembedded Devel Discussions
 help / color / mirror / Atom feed
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 v2 3/3] pg-cron: add ptest support
Date: Wed,  2 Dec 2026 01:25:57 +0000	[thread overview]
Message-ID: <20261202012557.7-4-bbnpreetsingh@gmail.com> (raw)
In-Reply-To: <20261202012557.7-1-bbnpreetsingh@gmail.com>

Use ptest-pgxs and point cron.database_name at contrib_regression,
the database the class runs the tests in.

Tested on qemux86-64 with ptest-runner: TOTAL: 1 FAIL: 0

AI-Generated: Uses Claude (claude-opus-5-5)
Signed-off-by: Babanpreet Singh <bbnpreetsingh@gmail.com>
---
v2: say what the patch does in the commit message

 meta-oe/conf/include/ptest-packagelists-meta-oe.inc | 1 +
 meta-oe/recipes-dbs/pg-cron/pg-cron_1.6.8.bb        | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
index 0e2df75d3f..09f78517e3 100644
--- a/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
+++ b/meta-oe/conf/include/ptest-packagelists-meta-oe.inc
@@ -56,6 +56,7 @@ PTESTS_FAST_META_OE = "\
     openjpeg \
     oprofile \
     pegtl \
+    pg-cron \
     pv \
     sdbus-c++ \
     tomlplusplus \
diff --git a/meta-oe/recipes-dbs/pg-cron/pg-cron_1.6.8.bb b/meta-oe/recipes-dbs/pg-cron/pg-cron_1.6.8.bb
index 9f9a59b398..20b16bda44 100644
--- a/meta-oe/recipes-dbs/pg-cron/pg-cron_1.6.8.bb
+++ b/meta-oe/recipes-dbs/pg-cron/pg-cron_1.6.8.bb
@@ -10,4 +10,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b70f68d78dbcc36c5654d795cee59b0d"
 SRC_URI = "git://github.com/citusdata/pg_cron.git;protocol=https;branch=main;tag=v${PV}"
 SRCREV = "2323864075a50f234235f98e567eb958f923b2b3"
 
-inherit pgxs
+inherit ptest-pgxs
+
+PTEST_PGXS_CONF = "cron.database_name = 'contrib_regression'"
-- 
2.43.0


      parent reply	other threads:[~2026-12-02  1:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02  1:25 [meta-oe][PATCH v2 0/3] ptest for PGXS extensions Babanpreet Singh
2026-12-02  1:25 ` [meta-oe][PATCH v2 1/3] postgresql: package pg_regress in postgresql-regress Babanpreet Singh
2026-12-02  1:25 ` [meta-oe][PATCH v2 2/3] ptest-pgxs.bbclass: add class for PGXS extension tests Babanpreet Singh
2026-12-02  1:25 ` Babanpreet Singh [this message]

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=20261202012557.7-4-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox