diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2016-01-25 17:29:37 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-30 11:36:58 +0000 |
commit | 209066ccce1f211b7982372dcb9b9795493aaece (patch) | |
tree | d82ac8c672eae6d795bfb4cc7bddb1d72acddbbd /meta/recipes-support/ptest-runner/ptest-runner_2.0.bb | |
parent | 4953e2699ede7c8a3b3654fdefc4dd1268e39e09 (diff) | |
download | poky-209066ccce1f211b7982372dcb9b9795493aaece.tar.gz |
ptest-runner: 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]
(From OE-Core rev: 2a6746cb5e60c9c5477d1df062bb2657d2fe4780)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/ptest-runner/ptest-runner_2.0.bb')
-rw-r--r-- | meta/recipes-support/ptest-runner/ptest-runner_2.0.bb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-support/ptest-runner/ptest-runner_2.0.bb b/meta/recipes-support/ptest-runner/ptest-runner_2.0.bb new file mode 100644 index 0000000000..221cf6c287 --- /dev/null +++ b/meta/recipes-support/ptest-runner/ptest-runner_2.0.bb | |||
@@ -0,0 +1,24 @@ | |||
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 = "https://github.com/alimon/ptest-runner2" | ||
6 | |||
7 | LICENSE = "GPLv2" | ||
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" | ||
9 | |||
10 | SRCREV = "8bfdf946e784f4d5757bebee1fbc4b4a3d7a95c4" | ||
11 | PV = "2.0+git${SRCPV}" | ||
12 | |||
13 | SRC_URI = "git://github.com/alimon/ptest-runner2.git;protocol=https" | ||
14 | S = "${WORKDIR}/git" | ||
15 | |||
16 | FILES_${PN} = "${bindir}/ptest-runner" | ||
17 | |||
18 | do_compile () { | ||
19 | oe_runmake | ||
20 | } | ||
21 | |||
22 | do_install () { | ||
23 | install -D -m 0755 ${WORKDIR}/git/ptest-runner ${D}${bindir}/ptest-runner | ||
24 | } | ||