aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/kmod/kmod/run-ptest
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2013-07-19 19:31:34 +0200
committerSaul Wold <sgw@linux.intel.com>2013-07-22 09:44:11 -0700
commit152c973227e41b7736457b7f8c40849cc71b45ca (patch)
tree3b66bd1720370d84862b491d4a8b79aa30fac5aa /meta/recipes-kernel/kmod/kmod/run-ptest
parent795db65706d28bc194244a2ebbe6624ded584a33 (diff)
downloadopenembedded-core-contrib-152c973227e41b7736457b7f8c40849cc71b45ca.tar.gz
kmod: Add ptest
Install kmod test suite and run it as ptest. Signed-off-by: Tudor Florea <tudor.florea@enea.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-kernel/kmod/kmod/run-ptest')
-rwxr-xr-xmeta/recipes-kernel/kmod/kmod/run-ptest5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-kernel/kmod/kmod/run-ptest b/meta/recipes-kernel/kmod/kmod/run-ptest
new file mode 100755
index 0000000000..fac24fd6e1
--- /dev/null
+++ b/meta/recipes-kernel/kmod/kmod/run-ptest
@@ -0,0 +1,5 @@
+#!/bin/sh
+tar -xzf tools.tgz
+tar -C testsuite -xzf testsuite.tgz
+make rootfs
+make -k runtest-TESTS 2>/dev/null| grep -e ^PASS -e ^FAIL