summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/busybox/files
diff options
context:
space:
mode:
authorBjörn Stenberg <bjst@enea.com>2013-06-24 16:52:21 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-25 17:44:58 +0100
commit67d95bffa95ca6e56c06c59fd1d15d20ce9a636a (patch)
tree83257f3f5b6de7560943468657b07a56845f4999 /meta/recipes-core/busybox/files
parenteea24c6545ea4af1b8cbacb923d7613bd29e7933 (diff)
downloadopenembedded-core-contrib-67d95bffa95ca6e56c06c59fd1d15d20ce9a636a.tar.gz
busybox: Add ptest
Install busybox test suite and run it as ptest. (From OE-Core rev: 0d29dc5b5f7742df60fdba90835ef77425963bde) Signed-off-by: Anders Roxell <anders.roxell@enea.com> 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-core/busybox/files')
-rw-r--r--meta/recipes-core/busybox/files/run-ptest7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/files/run-ptest b/meta/recipes-core/busybox/files/run-ptest
new file mode 100644
index 0000000000..3608a8eb65
--- /dev/null
+++ b/meta/recipes-core/busybox/files/run-ptest
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+current_dir=$(readlink -f $0)
+export bindir=$(dirname $current_dir)
+
+cd testsuite || exit 1
+./runtest -v | sed -r 's/^(SKIPPED|UNTESTED):/SKIP:/'