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>
This commit is contained in:
parent
1d2c6833ae
commit
daad0d8dda
|
@ -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"
|
|
@ -0,0 +1,17 @@
|
|||
SRC_URI += "file://ptest-runner"
|
||||
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
|
||||
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
|
||||
INHIBIT_DEFAULT_DEPS = "1"
|
||||
|
||||
do_install () {
|
||||
mkdir -p ${D}${bindir}
|
||||
install -m 0755 ${WORKDIR}/ptest-runner ${D}${bindir}
|
||||
}
|
||||
|
||||
do_patch[noexec] = "1"
|
||||
do_configure[noexec] = "1"
|
||||
do_compile[noexec] = "1"
|
||||
do_build[noexec] = "1"
|
Loading…
Reference in New Issue