| Message ID | 20261202012557.7-4-bbnpreetsingh@gmail.com |
|---|---|
| State | Under Review |
| Headers | show |
| Series | ptest for PGXS extensions | expand |
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'"
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(-)