From patchwork Wed Dec 2 01:25:57 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Babanpreet Singh X-Patchwork-Id: 106895 Received: from mail-pg1-f180.google.com (mail-pg1-f180.google.com [209.85.215.180]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.26981.1796174761258141977 for ; Tue, 01 Dec 2026 17:26:01 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=wrjwYp3H; spf=pass (domain: gmail.com, ip: 209.85.215.180, mailfrom: bbnpreetsingh@gmail.com) Received: by mail-pg1-f180.google.com with SMTP id 41be03b00d2f7-cdb2e0062bbso4583940a12.1 for ; Tue, 01 Dec 2026 17:26:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796174761; x=1796779561; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=X13XVDUtn91gYoYKZi4ZXuAgVVbqTJcswGzzoxz5xkM=; b=wrjwYp3H6NCB/k2lufL8TeIkixtmYHKSGiDWX51ZqueDLKlrZgHHPKAyLK1owPr4N+ eaGgCFb0Dk9Il5BrlH/n3Tc7KNbd+Sv7wCsF2isPYWnYgyysI2j+9nYEYxvVjH8HWiko ty64Tn0998Bmv1/ygRiVJ/+avF5VYoKDJtk/vSa7EdSxCN629IuuJ1U005p0UYCfg8Cx x/MiVQI8JvLsY6CzrODibkhp8HA6j4IJ0wiaGjhUAS6Y5+/kQ8kQk2qMV4XXGwNLtEgV nRzcd7GMQ5wSzkxdELJBJA7OLU81AEN+KVpHfjxx/RBnNIsSGGhoqGxvnXgP3Rz1bX6f 99Hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796174761; x=1796779561; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=X13XVDUtn91gYoYKZi4ZXuAgVVbqTJcswGzzoxz5xkM=; b=zU6bjS/PQcI21pj+A3b3UowpI85PX0cSSNEhsdw5FInBtMqHe/3eauAphqxG8jXpdF YL/iCS7SoqVve9KVJgpheXqx+XobYXK47++jBQoxNY4yJOCQ7EIjgCmPe+x4PhfajJvl uHh0lWpnvkXBYbuOhD9pvdrEjYSOnBfUAeh2IccndVHEbdJamkdTjoo9Vc2ohUzwSKpe h08puDAVlK3Se0C1A8x5yXpwnXQpuicCwCjRw5rcqtTn0Kqoqn4Q0u5jIAlgB1o9sEVU OLNkHA/LAR2gj+WVEK0pZmRROpAKLrUTINLRis/GGRRLgOn1qPKM79KgMLwAmykCcKYy IuBg== X-Gm-Message-State: APuU4Z/DjRID2vb9k+Q7ZYqG6WhCBIzBa+bvNL2NhLCpsR60zwbq8Z5O FNuY0V4nY76W40/PClYL2sSWvo+jfZW4v43MhknkevONJtbMB1cE2XqjY9cLSjJVa9oB5w== X-Gm-Gg: AZFdTZfAmPVXN5cgCe+Tbn+gnakyhfmfDqybjY6WjG2T8GrWL+xg1Iw/oRgB+wF3u0T EtYbIAp2iZj8PZgUkYGoyaIWE/TPhnjPbPm7lY0FYk8KQspdHZBoqJFBLC1MZOn2rU7t56qyHSp onu4toxvkslKq+Y+HtIfcEDDmwiRD8aCU4wVQCSeo20CfGV76tuBHeQ2odaZYANnBCLjqpaHnAm tyjNHmaqeuvg8bI9Ginve20IshAYhRILJ6h+jiyKqjAa3gPnkctOkch0HPTBCOvoLlb8jJx2vcR eSPJkX2bxpX1j+fno1Sq+HfkFvUtjurCU4LEOQN5XfQKq3uzlocx6uLfDlZgMTfSAeYnvIBfZ9A pvpWPHT0BUsrJ+pifZdHRJO3h+dvDQ5PF1RHYbXNxMaU6d520Ase5Fbr6iLm2fIsSJImqtKPiMt x9hea0Y2m6whiaS7JfnAjuXbQmxV/IkoOTOdg6APwG7d0BYThD0aHAsbZtK6AHVPI5jYo/NcBHR 0AqtvTlxb9bUSyUbq7kc/OR5ZQ9emw3Vc3jVE8SGisnc4HT06VuZ0dnIqKjqekDumxmGdK9DX2X cBuCts8VtM43Zg+51V8gKqZnNW6A1T+lHkKDgy6UAmVmIxmVLfq/RUvXu5frH5MYoYL9/7gF4C8 K7WOj7g37 X-Received: by 2002:a17:90b:17d1:b0:3a8:a98c:ea07 with SMTP id 98e67ed59e1d1-3b41c8e1735mr34416396a91.13.1796174760639; Tue, 01 Dec 2026 17:26:00 -0800 (PST) Return-Path: Received: from localhost.localdomain ([108.180.159.198]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b41ad0a33fsm60875753a91.6.2026.12.01.17.26.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Dec 2026 17:26:00 -0800 (PST) From: Babanpreet Singh To: openembedded-devel@lists.openembedded.org Cc: Khem Raj , Babanpreet Singh Subject: [meta-oe][PATCH v2 3/3] pg-cron: add ptest support Date: Wed, 2 Dec 2026 01:25:57 +0000 Message-ID: <20261202012557.7-4-bbnpreetsingh@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20261202012557.7-1-bbnpreetsingh@gmail.com> References: <20261202012557.7-1-bbnpreetsingh@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Wed, 02 Dec 2026 01:26:05 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133789 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 --- 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'"