diff options
-rw-r--r-- | meta/classes/testimage.bbclass | 4 | ||||
-rw-r--r-- | meta/lib/oeqa/runtime/dmesg.py | 12 | ||||
-rw-r--r-- | meta/recipes-extended/images/core-image-kernel-dev.bb | 2 |
3 files changed, 3 insertions, 15 deletions
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass index b4d4a69b0d..d571672bc0 100644 --- a/meta/classes/testimage.bbclass +++ b/meta/classes/testimage.bbclass | |||
@@ -36,9 +36,9 @@ RPMTESTSUITE = "${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'smart rpm', '', d) | |||
36 | 36 | ||
37 | DEFAULT_TEST_SUITES = "ping auto" | 37 | DEFAULT_TEST_SUITES = "ping auto" |
38 | DEFAULT_TEST_SUITES_pn-core-image-minimal = "ping" | 38 | DEFAULT_TEST_SUITES_pn-core-image-minimal = "ping" |
39 | DEFAULT_TEST_SUITES_pn-core-image-sato = "ping ssh df connman syslog xorg scp vnc date dmesg parselogs ${RPMTESTSUITE} \ | 39 | DEFAULT_TEST_SUITES_pn-core-image-sato = "ping ssh df connman syslog xorg scp vnc date parselogs ${RPMTESTSUITE} \ |
40 | ${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'python', '', d)}" | 40 | ${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'python', '', d)}" |
41 | DEFAULT_TEST_SUITES_pn-core-image-sato-sdk = "ping ssh df connman syslog xorg scp vnc date perl ldd gcc kernelmodule dmesg python parselogs ${RPMTESTSUITE}" | 41 | DEFAULT_TEST_SUITES_pn-core-image-sato-sdk = "ping ssh df connman syslog xorg scp vnc date perl ldd gcc kernelmodule python parselogs ${RPMTESTSUITE}" |
42 | DEFAULT_TEST_SUITES_pn-core-image-lsb-sdk = "ping buildcvs buildiptables buildsudoku connman date df gcc kernelmodule ldd pam parselogs perl python scp ${RPMTESTSUITE} ssh syslog logrotate" | 42 | DEFAULT_TEST_SUITES_pn-core-image-lsb-sdk = "ping buildcvs buildiptables buildsudoku connman date df gcc kernelmodule ldd pam parselogs perl python scp ${RPMTESTSUITE} ssh syslog logrotate" |
43 | DEFAULT_TEST_SUITES_pn-meta-toolchain = "auto" | 43 | DEFAULT_TEST_SUITES_pn-meta-toolchain = "auto" |
44 | 44 | ||
diff --git a/meta/lib/oeqa/runtime/dmesg.py b/meta/lib/oeqa/runtime/dmesg.py deleted file mode 100644 index 5831471e50..0000000000 --- a/meta/lib/oeqa/runtime/dmesg.py +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | import unittest | ||
2 | from oeqa.oetest import oeRuntimeTest | ||
3 | from oeqa.utils.decorators import * | ||
4 | |||
5 | |||
6 | class DmesgTest(oeRuntimeTest): | ||
7 | |||
8 | @testcase(215) | ||
9 | @skipUnlessPassed('test_ssh') | ||
10 | def test_dmesg(self): | ||
11 | (status, output) = self.target.run('dmesg | grep -v mmci-pl18x | grep -v "error changing net interface name" | grep -iv "dma timeout" | grep -v usbhid | grep -i error') | ||
12 | self.assertEqual(status, 1, msg = "Error messages in dmesg log: %s" % output) | ||
diff --git a/meta/recipes-extended/images/core-image-kernel-dev.bb b/meta/recipes-extended/images/core-image-kernel-dev.bb index 6b636ed080..26b88c9e8c 100644 --- a/meta/recipes-extended/images/core-image-kernel-dev.bb +++ b/meta/recipes-extended/images/core-image-kernel-dev.bb | |||
@@ -17,4 +17,4 @@ CORE_IMAGE_EXTRA_INSTALL += "${KERNEL_DEV_MODULE} \ | |||
17 | IMAGE_ROOTFS_EXTRA_SPACE_append += "+ 3000000" | 17 | IMAGE_ROOTFS_EXTRA_SPACE_append += "+ 3000000" |
18 | 18 | ||
19 | # Let's define our own subset to test, we can later add a on-target kernel build even! | 19 | # Let's define our own subset to test, we can later add a on-target kernel build even! |
20 | DEFAULT_TEST_SUITES = "ping ssh df connman syslog scp date dmesg parselogs" | 20 | DEFAULT_TEST_SUITES = "ping ssh df connman syslog scp date parselogs" |