diff options
author | Björn Stenberg <bjst@enea.com> | 2012-12-19 17:18:28 +0100 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2012-12-25 14:00:20 -0800 |
commit | da25002a0968c12f16719f9fed21c76b9321aeb5 (patch) | |
tree | 563826c5c2d95f9daae8769fef9f7bb607ec7dd8 /meta/recipes-support/ptest-runner/files/ptest-runner | |
parent | 6f92e7f8891008dd3c89325d3fbe2da853372326 (diff) | |
download | openembedded-core-contrib-da25002a0968c12f16719f9fed21c76b9321aeb5.tar.gz |
New package: ptest-runner
This package contains a simple shell script which searches for all installed
ptests on the rootfs and runs each test in sequence.
Signed-off-by: Björn Stenberg <bjst@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-support/ptest-runner/files/ptest-runner')
-rw-r--r-- | meta/recipes-support/ptest-runner/files/ptest-runner | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/recipes-support/ptest-runner/files/ptest-runner b/meta/recipes-support/ptest-runner/files/ptest-runner new file mode 100644 index 0000000000..4f3c7ce730 --- /dev/null +++ b/meta/recipes-support/ptest-runner/files/ptest-runner @@ -0,0 +1,16 @@ +#!/bin/sh + +echo "START: $0" +cd /usr/lib +for x in * +do + if [ -x "/usr/lib/$x/ptest/run-ptest" ]; then + date "+%Y-%m-%dT%H:%M" + echo "BEGIN: $x" + cd /usr/lib/$x/ptest + ./run-ptest + echo "END: $x" + date "+%Y-%m-%dT%H:%M" + fi +done +echo "STOP: $0" |