summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/ptest-runner/ptest-runner_2.5.1.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2024-10-25 13:39:21 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-10-29 11:19:57 +0000
commit129dffaa99506e46d21115845bdb2bcb6001d822 (patch)
tree1e28baf5e111a561f95e343c98cf41d682bc7bb5 /meta/recipes-support/ptest-runner/ptest-runner_2.5.1.bb
parent835dbceebb10134b0e43dfd5fdf6847591bfeba8 (diff)
downloadpoky-129dffaa99506e46d21115845bdb2bcb6001d822.tar.gz
ptest-runner: upgrade 2.4.5 -> 2.5.1
(From OE-Core rev: d4497ba3fed93807f59c00925056aa21e72c2189) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/ptest-runner/ptest-runner_2.5.1.bb')
-rw-r--r--meta/recipes-support/ptest-runner/ptest-runner_2.5.1.bb39
1 files changed, 39 insertions, 0 deletions
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 @@
1SUMMARY = "A C program to run all installed ptests"
2DESCRIPTION = "The ptest-runner2 package installs a ptest-runner \
3program which loops through all installed ptest test suites and \
4runs them in sequence."
5HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/ptest-runner2/about/"
6
7LICENSE = "GPL-2.0-or-later"
8LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe"
9
10SRCREV = "c99e8c2737ff802f110612cc2d90c60233c33255"
11PV .= "+git"
12
13SRC_URI = "git://git.yoctoproject.org/ptest-runner2;branch=master;protocol=https \
14"
15
16S = "${WORKDIR}/git"
17
18FILES:${PN} = "${bindir}/ptest-runner ${bindir}/ptest-runner-collect-system-data"
19
20EXTRA_OEMAKE = "-e MAKEFLAGS= CFLAGS="${CFLAGS} -DDEFAULT_DIRECTORY=\\\"${libdir}\\\"""
21
22do_compile () {
23 oe_runmake
24}
25
26do_install () {
27 install -D -m 0755 ${S}/ptest-runner ${D}${bindir}/ptest-runner
28 install -D -m 0755 ${S}/ptest-runner-collect-system-data ${D}${bindir}/ptest-runner-collect-system-data
29}
30
31RDEPENDS:${PN}:append:libc-glibc = " libgcc"
32
33# pstree is called by ptest-runner-collect-system-data
34RDEPENDS:${PN}:append = " pstree"
35
36# Create a non-root user that test suites can use easily
37inherit useradd
38USERADD_PACKAGES = "${PN}"
39USERADD_PARAM:${PN} = "--system --no-create-home --home / --user-group ptest"