ptest-runner_2.0: Add ptest-runner_2.0 recipe.
PATCH 1/2 ptest-runner_2.0: Add ptest-runner_2.0 recipe.
The ptest-runner 2.0 is C written program for run ptests of Yocto/Openembedded, is fully compatible with previous version of ptest-runner that was a shell script that runs ptests sequencially.
The mainly reason for the new ptest-runner in C is because is designed for run in tiny systems also the old shell script version have problems when certain ptest hang it becomes blocked indefinitely.
Now the ptest-runner 2.0 support the next features:
- Specify the directory for search ptests.
- List available ptests.
- Specify the timeout for avoid blocking indefinetly.
- Only run certain ptests.
Proposed features:
- Adds support for per ptest output file.
- Adds support for run ptests in parallel (review possible colisions in ptests).
[YOCTO #8021]
--- .../ptest-runner/ptest-runner_2.0.bb | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 meta/recipes-support/ptest-runner/ptest-runner_2.0.bb
meta/recipes-support/ptest-runner/ptest-runner_2.0.bb new file +24 -0
@@ -0,0 +1,24 @@ +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 = "https://github.com/alimon/ptest-runner2" + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" + +SRC_URI = "git://github.com/alimon/ptest-runner2.git;protocol=https;tag=v0.1" +PV = "2.0+git${SRCPV}" +S = "${WORKDIR}/git" + +FILES_${PN} = "${bindir}/ptest-runner" + +RCONFLICTS_${PN} = "ptest-runner" + +do_compile () { + oe_runmake +} + +do_install () { + install -D -m 0755 ${WORKDIR}/git/ptest-runner ${D}${bindir}/ptest-runner +}
Signature · 1 line
2.1.4
PATCH 2/2 Revert "dev-manual: Updated "Running ptset" section"
Due to now we use the same name for the new recipe ptest-runner instead of ptest-runner2 for maintain compatibility with old instructions/code.
This reverts commit afc6cbaa80907b20b1e76cdd1620d98e1d51b976.
--- documentation/dev-manual/dev-manual-common-tasks.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
documentation/dev-manual/dev-manual-common-tasks.xml +2 -2
@@ -7488,8 +7488,8 @@ <title>Running ptest</title> <para> - The <filename>ptest-runner2</filename> package installs a - program that loops through all installed ptest test + The <filename>ptest-runner</filename> package installs a + shell script that loops through all installed ptest test suites and runs them in sequence. Consequently, you might want to add this package to your image.
Signature · 1 line
2.1.4