summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/ptest-runner/files/ptest-runner
Commit message (Collapse)AuthorAgeFilesLines
* ptest-runner: Add ptest-runner_2.0 recipe.Aníbal Limón2016-01-301-54/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* ptest-runner: Allow running of specific testsIoan-Adrian Ratiu2015-11-161-13/+40
| | | | | | | | | | | | | | | By default ptest-runner executes all ptests found in a system. With this change, ptest-runner can be given a list of ptest package names to run (the default is still available). For example, to run only the zlib and rt-tests ptests: "ptest-runner zlib rt-tests" (From OE-Core rev: a13333c3e9ab601a11c10aba2a0a55c7fdea2e24) Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ptest-runner: return 1 instead of zero if any test failsLaszlo Papp2014-08-231-2/+6
| | | | | | | | | | It is better to know this information from the exit code rather than parsing test specific outputs. (From OE-Core rev: d6b1c9e7e29aaa8d71ccb485b7a88863a117a8b1) Signed-off-by: Laszlo Papp <lpapp@kde.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ptest-runner: compatibile with busyboxRoy Li2013-09-241-14/+5
| | | | | | | | | | Do not use pushd, busybox does not support it if system only has busybox; Replace find command with ls to avoid some busybox's find unsupported options; (From OE-Core rev: 1f059654bc81e55896c96c7c8e32e09f8925a761) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ptest-runner: trivial fixes and refineRoy Li2013-09-111-7/+23
| | | | | | | | | | | | | | | | | 1. ptest files may be installed under /usr/lib64/ for 64bit filesystem or under /usr/lib/ for 64bit multilib filesystem, so we should check both directories 2. If a soft link is linking to a directory under the same directory, we only run once. [YOCTO #5125] [YOCTO #5126] (From OE-Core rev: 51c43e08b388ed15520c66977bbb49df18e5f124) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* New package: ptest-runnerBjörn Stenberg2012-12-261-0/+16
This package contains a simple shell script which searches for all installed ptests on the rootfs and runs each test in sequence. (From OE-Core rev: da25002a0968c12f16719f9fed21c76b9321aeb5) Signed-off-by: Björn Stenberg <bjst@enea.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>