diff options
author | Björn Stenberg <bjst@enea.com> | 2012-12-19 17:18:28 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-26 11:34:04 +0000 |
commit | daad0d8dda05546385186086e57cf18388a3b90b (patch) | |
tree | c3836d0bdbba773efdfd98e65e7835df239fdecf /meta/recipes-support/ptest-runner/files | |
parent | 1d2c6833ae802553d6df3dbb249336c44cef5df5 (diff) | |
download | poky-daad0d8dda05546385186086e57cf18388a3b90b.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.
(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>
Diffstat (limited to 'meta/recipes-support/ptest-runner/files')
-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 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | echo "START: $0" | ||
4 | cd /usr/lib | ||
5 | for x in * | ||
6 | do | ||
7 | if [ -x "/usr/lib/$x/ptest/run-ptest" ]; then | ||
8 | date "+%Y-%m-%dT%H:%M" | ||
9 | echo "BEGIN: $x" | ||
10 | cd /usr/lib/$x/ptest | ||
11 | ./run-ptest | ||
12 | echo "END: $x" | ||
13 | date "+%Y-%m-%dT%H:%M" | ||
14 | fi | ||
15 | done | ||
16 | echo "STOP: $0" | ||