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:43:43 +0100
commit0d29dc5b5f7742df60fdba90835ef77425963bde (patch)
treef9e1ac660705f7e1585140635cf48245fdf09be4 /meta/recipes-core/busybox/files
parent778cd8d2110ef2db5ff4ae4f0b55c52a8f1ea334 (diff)
downloadopenembedded-core-contrib-0d29dc5b5f7742df60fdba90835ef77425963bde.tar.gz
busybox: Add ptest
Install busybox test suite and run it as ptest. 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>
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:/'