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 0/3] ptest for PGXS extensions
Date: Tue,  1 Dec 2026 20:16:57 +0000	[thread overview]
Message-ID: <20261201201700.7-1-bbnpreetsingh@gmail.com> (raw)

Add a class that runs a PostgreSQL extension's own regression tests as
its ptest, and use it for pg-cron. pg_regress moves to its own package
so the ptest does not need postgresql-server-dev.

Tested on qemux86-64 with ptest-runner. pgvector, pgaudit and orafce
will follow once their recipes are merged.

Babanpreet Singh (3):
  postgresql: package pg_regress in postgresql-regress
  ptest-pgxs.bbclass: add class for PGXS extension tests
  pg-cron: add ptest support

 meta-oe/classes/ptest-pgxs.bbclass            | 97 +++++++++++++++++++
 .../include/ptest-packagelists-meta-oe.inc    |  1 +
 meta-oe/recipes-dbs/pg-cron/pg-cron_1.6.8.bb  |  4 +-
 meta-oe/recipes-dbs/postgresql/postgresql.inc |  4 +-
 4 files changed, 104 insertions(+), 2 deletions(-)
 create mode 100644 meta-oe/classes/ptest-pgxs.bbclass

-- 
2.43.0


             reply	other threads:[~2026-12-01 20:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01 20:16 Babanpreet Singh [this message]
2026-12-01 20:16 ` [meta-oe][PATCH 1/3] postgresql: package pg_regress in postgresql-regress Babanpreet Singh
2026-12-02  0:53   ` [PATCH " Khem Raj
2026-12-01 20:16 ` [meta-oe][PATCH 2/3] ptest-pgxs.bbclass: add class for PGXS extension tests Babanpreet Singh
2026-12-02  0:53   ` [PATCH " Khem Raj
2026-12-02  1:26     ` [meta-oe][PATCH " Babanpreet Singh
2026-12-01 20:17 ` [meta-oe][PATCH 3/3] pg-cron: add ptest support Babanpreet Singh
2026-12-02  0:53   ` [PATCH " Khem Raj

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=20261201201700.7-1-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