From 5a93a3728e3fb05724d26c688430d36a1f51a396 Mon Sep 17 00:00:00 2001 From: Anibal Limon Date: Wed, 14 Feb 2024 12:35:03 -0600 Subject: ptest-runner: Bump to 2.4.3 (92c1b97) Pull small fixed related to secure builds, handling of rc in every ptest and better tests output when timeout. Changes, 92c1b97 Do not reset error counter before each test 7de7e2b utils: run_child fix security flags build 6a9fba2 utils.c: get_available_ptests fix security flags compilation 5b8ad9a tests: Ensure that timeouts still print ERROR d939217 SECURITY.md: Add file (From OE-Core rev: 1d8a8487d300332c796a7555644bb370fc858f6f) Signed-off-by: Anibal Limon Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- .../ptest-runner/ptest-runner_2.4.2.bb | 39 ---------------------- .../ptest-runner/ptest-runner_2.4.3.bb | 39 ++++++++++++++++++++++ 2 files changed, 39 insertions(+), 39 deletions(-) delete mode 100644 meta/recipes-support/ptest-runner/ptest-runner_2.4.2.bb create mode 100644 meta/recipes-support/ptest-runner/ptest-runner_2.4.3.bb diff --git a/meta/recipes-support/ptest-runner/ptest-runner_2.4.2.bb b/meta/recipes-support/ptest-runner/ptest-runner_2.4.2.bb deleted file mode 100644 index ff336b3820..0000000000 --- a/meta/recipes-support/ptest-runner/ptest-runner_2.4.2.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 = "4148e75284e443fc8ffaef425c467aa5523528ff" -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.4.3.bb b/meta/recipes-support/ptest-runner/ptest-runner_2.4.3.bb new file mode 100644 index 0000000000..e6668da01f --- /dev/null +++ b/meta/recipes-support/ptest-runner/ptest-runner_2.4.3.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 = "92c1b97bfdb4a94acc1cabcaf97eef52dc29144c" +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