diff options
Diffstat (limited to 'import-layers/yocto-poky/meta/recipes-kernel/kmod/kmod/run-ptest')
-rwxr-xr-x | import-layers/yocto-poky/meta/recipes-kernel/kmod/kmod/run-ptest | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/import-layers/yocto-poky/meta/recipes-kernel/kmod/kmod/run-ptest b/import-layers/yocto-poky/meta/recipes-kernel/kmod/kmod/run-ptest new file mode 100755 index 000000000..598dd2cb5 --- /dev/null +++ b/import-layers/yocto-poky/meta/recipes-kernel/kmod/kmod/run-ptest @@ -0,0 +1,5 @@ +#!/bin/sh +touch testsuite/stamp-rootfs +tar xf testmodule.tar +make -k runtest-TESTS 2>/dev/null| grep -e ^PASS -e ^FAIL +find testsuite -name *.ko -exec rm -f {} \; |