diff options
Diffstat (limited to 'meta/recipes-support/ptest-runner')
-rw-r--r-- | meta/recipes-support/ptest-runner/ptest-runner_2.4.0.bb | 29 | ||||
-rw-r--r-- | meta/recipes-support/ptest-runner/ptest-runner_2.4.3.bb | 39 |
2 files changed, 39 insertions, 29 deletions
diff --git a/meta/recipes-support/ptest-runner/ptest-runner_2.4.0.bb b/meta/recipes-support/ptest-runner/ptest-runner_2.4.0.bb deleted file mode 100644 index 8b9938f572..0000000000 --- a/meta/recipes-support/ptest-runner/ptest-runner_2.4.0.bb +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | SUMMARY = "A C program to run all installed ptests" | ||
2 | DESCRIPTION = "The ptest-runner2 package installs a ptest-runner \ | ||
3 | program which loops through all installed ptest test suites and \ | ||
4 | runs them in sequence." | ||
5 | HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/ptest-runner2/about/" | ||
6 | |||
7 | LICENSE = "GPLv2+" | ||
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" | ||
9 | |||
10 | SRCREV = "834670317bd3f6e427e1ac461c07ada6b8936dfd" | ||
11 | PV .= "+git${SRCPV}" | ||
12 | |||
13 | SRC_URI = "git://git.yoctoproject.org/ptest-runner2 \ | ||
14 | " | ||
15 | UPSTREAM_VERSION_UNKNOWN = "1" | ||
16 | |||
17 | S = "${WORKDIR}/git" | ||
18 | |||
19 | FILES_${PN} = "${bindir}/ptest-runner" | ||
20 | |||
21 | EXTRA_OEMAKE = "-e MAKEFLAGS= CFLAGS="${CFLAGS} -DDEFAULT_DIRECTORY=\\\"${libdir}\\\""" | ||
22 | |||
23 | do_compile () { | ||
24 | oe_runmake | ||
25 | } | ||
26 | |||
27 | do_install () { | ||
28 | install -D -m 0755 ${S}/ptest-runner ${D}${bindir}/ptest-runner | ||
29 | } | ||
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 @@ | |||
1 | SUMMARY = "A C program to run all installed ptests" | ||
2 | DESCRIPTION = "The ptest-runner2 package installs a ptest-runner \ | ||
3 | program which loops through all installed ptest test suites and \ | ||
4 | runs them in sequence." | ||
5 | HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/ptest-runner2/about/" | ||
6 | |||
7 | LICENSE = "GPL-2.0-or-later" | ||
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" | ||
9 | |||
10 | SRCREV = "92c1b97bfdb4a94acc1cabcaf97eef52dc29144c" | ||
11 | PV .= "+git" | ||
12 | |||
13 | SRC_URI = "git://git.yoctoproject.org/ptest-runner2;branch=master;protocol=https \ | ||
14 | " | ||
15 | |||
16 | S = "${WORKDIR}/git" | ||
17 | |||
18 | FILES:${PN} = "${bindir}/ptest-runner ${bindir}/ptest-runner-collect-system-data" | ||
19 | |||
20 | EXTRA_OEMAKE = "-e MAKEFLAGS= CFLAGS="${CFLAGS} -DDEFAULT_DIRECTORY=\\\"${libdir}\\\""" | ||
21 | |||
22 | do_compile () { | ||
23 | oe_runmake | ||
24 | } | ||
25 | |||
26 | do_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 | |||
31 | RDEPENDS:${PN}:append:libc-glibc = " libgcc" | ||
32 | |||
33 | # pstree is called by ptest-runner-collect-system-data | ||
34 | RDEPENDS:${PN}:append = " pstree" | ||
35 | |||
36 | # Create a non-root user that test suites can use easily | ||
37 | inherit useradd | ||
38 | USERADD_PACKAGES = "${PN}" | ||
39 | USERADD_PARAM:${PN} = "--system --no-create-home --home / --user-group ptest" | ||