summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/kmod/kmod/run-ptest
diff options
context:
space:
mode:
authorChong Lu <Chong.Lu@windriver.com>2014-10-27 13:24:23 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-31 10:18:32 +0000
commit3725cdf43a875611f96b3e0ca3a6b50b39d417df (patch)
treeee40059a84f3b8f788c9c686bc0054fc8fd3f1fc /meta/recipes-kernel/kmod/kmod/run-ptest
parent3244f4540c08e4248a0f54d31e4797d2eb96faee (diff)
downloadpoky-3725cdf43a875611f96b3e0ca3a6b50b39d417df.tar.gz
kmod: fix debuginfo is missing in shared library
INHIBIT_PACKAGE_STRIP variable will make debuginfo lose in shared library. The test cases of kmod contain kernel modules for many different architectures, strip and arch gets confused and throws errors. Pack kernel modules in test cases to avoid strip command failed. (From OE-Core rev: 3576399ed163cb3136ee1a2077622035d2033158) (From OE-Core rev: a6b79ecb502df0f935f5c8575ace9e781770e5c1) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/kmod/kmod/run-ptest')
-rwxr-xr-xmeta/recipes-kernel/kmod/kmod/run-ptest2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-kernel/kmod/kmod/run-ptest b/meta/recipes-kernel/kmod/kmod/run-ptest
index 37adec3d2f..598dd2cb5f 100755
--- a/meta/recipes-kernel/kmod/kmod/run-ptest
+++ b/meta/recipes-kernel/kmod/kmod/run-ptest
@@ -1,3 +1,5 @@
1#!/bin/sh 1#!/bin/sh
2touch testsuite/stamp-rootfs 2touch testsuite/stamp-rootfs
3tar xf testmodule.tar
3make -k runtest-TESTS 2>/dev/null| grep -e ^PASS -e ^FAIL 4make -k runtest-TESTS 2>/dev/null| grep -e ^PASS -e ^FAIL
5find testsuite -name *.ko -exec rm -f {} \;