From 129dffaa99506e46d21115845bdb2bcb6001d822 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Fri, 25 Oct 2024 13:39:21 +0800 Subject: ptest-runner: upgrade 2.4.5 -> 2.5.1 (From OE-Core rev: d4497ba3fed93807f59c00925056aa21e72c2189) Signed-off-by: Wang Mingyu Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- .../ptest-runner/ptest-runner_2.4.5.bb | 39 ---------------------- .../ptest-runner/ptest-runner_2.5.1.bb | 39 ++++++++++++++++++++++ 2 files changed, 39 insertions(+), 39 deletions(-) delete mode 100644 meta/recipes-support/ptest-runner/ptest-runner_2.4.5.bb create 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.bb b/meta/recipes-support/ptest-runner/ptest-runner_2.4.5.bb deleted file mode 100644 index d28ae7ca91..0000000000 --- a/meta/recipes-support/ptest-runner/ptest-runner_2.4.5.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 = "aea9f42f87f2a78a973ae22cade8e45259f754e1" -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" 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 new file mode 100644 index 0000000000..e07f5d444b --- /dev/null +++ b/meta/recipes-support/ptest-runner/ptest-runner_2.5.1.bb @@ -0,0 +1,39 @@ +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