From aca4d584dc586a941e8726fc45438e60eaf55d78 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Tue, 29 Oct 2024 13:01:07 +0100 Subject: ptest-runner: correct PV from 2.5.1 to 2.4.5.1 2.4.5.1 is an actual version, 2.5.1 was a typo mistake. That merged less than an hour ago, so no one should trip over version going backwards hopefully. (From OE-Core rev: d5e0f51bccae7410b10c98a93fa5853155c2f59e) Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- .../ptest-runner/ptest-runner_2.4.5.1.bb | 38 +++++++++++++++++++++ .../ptest-runner/ptest-runner_2.5.1.bb | 39 ---------------------- 2 files changed, 38 insertions(+), 39 deletions(-) create mode 100644 meta/recipes-support/ptest-runner/ptest-runner_2.4.5.1.bb delete mode 100644 meta/recipes-support/ptest-runner/ptest-runner_2.5.1.bb diff --git a/meta/recipes-support/ptest-runner/ptest-runner_2.4.5.1.bb b/meta/recipes-support/ptest-runner/ptest-runner_2.4.5.1.bb new file mode 100644 index 0000000000..9f6bb399b4 --- /dev/null +++ b/meta/recipes-support/ptest-runner/ptest-runner_2.4.5.1.bb @@ -0,0 +1,38 @@ +SUMMARY = "A C program to run all installed ptests" +DESCRIPTION = "The ptest-runner2 package installs a ptest-runner \ +program which loops through all installed ptest test suites and \ +runs them in sequence." +HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/ptest-runner2/about/" + +LICENSE = "GPL-2.0-or-later" +LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" + +SRCREV = "c99e8c2737ff802f110612cc2d90c60233c33255" + +SRC_URI = "git://git.yoctoproject.org/ptest-runner2;branch=master;protocol=https \ +" + +S = "${WORKDIR}/git" + +FILES:${PN} = "${bindir}/ptest-runner ${bindir}/ptest-runner-collect-system-data" + +EXTRA_OEMAKE = "-e MAKEFLAGS= CFLAGS="${CFLAGS} -DDEFAULT_DIRECTORY=\\\"${libdir}\\\""" + +do_compile () { + oe_runmake +} + +do_install () { + install -D -m 0755 ${S}/ptest-runner ${D}${bindir}/ptest-runner + install -D -m 0755 ${S}/ptest-runner-collect-system-data ${D}${bindir}/ptest-runner-collect-system-data +} + +RDEPENDS:${PN}:append:libc-glibc = " libgcc" + +# pstree is called by ptest-runner-collect-system-data +RDEPENDS:${PN}:append = " pstree" + +# Create a non-root user that test suites can use easily +inherit useradd +USERADD_PACKAGES = "${PN}" +USERADD_PARAM:${PN} = "--system --no-create-home --home / --user-group ptest" diff --git a/meta/recipes-support/ptest-runner/ptest-runner_2.5.1.bb b/meta/recipes-support/ptest-runner/ptest-runner_2.5.1.bb deleted file mode 100644 index e07f5d444b..0000000000 --- a/meta/recipes-support/ptest-runner/ptest-runner_2.5.1.bb +++ /dev/null @@ -1,39 +0,0 @@ -SUMMARY = "A C program to run all installed ptests" -DESCRIPTION = "The ptest-runner2 package installs a ptest-runner \ -program which loops through all installed ptest test suites and \ -runs them in sequence." -HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/ptest-runner2/about/" - -LICENSE = "GPL-2.0-or-later" -LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" - -SRCREV = "c99e8c2737ff802f110612cc2d90c60233c33255" -PV .= "+git" - -SRC_URI = "git://git.yoctoproject.org/ptest-runner2;branch=master;protocol=https \ -" - -S = "${WORKDIR}/git" - -FILES:${PN} = "${bindir}/ptest-runner ${bindir}/ptest-runner-collect-system-data" - -EXTRA_OEMAKE = "-e MAKEFLAGS= CFLAGS="${CFLAGS} -DDEFAULT_DIRECTORY=\\\"${libdir}\\\""" - -do_compile () { - oe_runmake -} - -do_install () { - install -D -m 0755 ${S}/ptest-runner ${D}${bindir}/ptest-runner - install -D -m 0755 ${S}/ptest-runner-collect-system-data ${D}${bindir}/ptest-runner-collect-system-data -} - -RDEPENDS:${PN}:append:libc-glibc = " libgcc" - -# pstree is called by ptest-runner-collect-system-data -RDEPENDS:${PN}:append = " pstree" - -# Create a non-root user that test suites can use easily -inherit useradd -USERADD_PACKAGES = "${PN}" -USERADD_PARAM:${PN} = "--system --no-create-home --home / --user-group ptest" -- cgit v1.2.3-54-g00ecf