mirror of
https://git.yoctoproject.org/poky
synced 2026-05-02 00:32:12 +02:00
Changelog: aea9f42 ptest_list_remove: Fix pointer adjustment of prev and next (From OE-Core rev: edb7968fe272e6afd89b01471f7949ccf730f295) Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f70ec9bcd379b5fc4c85d7479d42789c2e22f4a9) Signed-off-by: Steve Sakoman <steve@sakoman.com>
40 lines
1.2 KiB
BlitzBasic
40 lines
1.2 KiB
BlitzBasic
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"
|