summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2015-07-24 11:47:51 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-11-16 11:39:30 +0000
commit2d1071edb1233eb836059e8205bae19582068a88 (patch)
tree818c913f8fb3db18029c83e0956151bae9f1d2a9
parent42a5378647bc43c966594b766270059ce32637eb (diff)
downloadpoky-2d1071edb1233eb836059e8205bae19582068a88.tar.gz
oeqa/runtime: remove dmesg test
This has been obsoleted by parselogs. (From OE-Core rev: 05132fd236835db71d3e763b4d6ce01fcf14741a) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/testimage.bbclass4
-rw-r--r--meta/lib/oeqa/runtime/dmesg.py12
-rw-r--r--meta/recipes-extended/images/core-image-kernel-dev.bb2
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
37DEFAULT_TEST_SUITES = "ping auto" 37DEFAULT_TEST_SUITES = "ping auto"
38DEFAULT_TEST_SUITES_pn-core-image-minimal = "ping" 38DEFAULT_TEST_SUITES_pn-core-image-minimal = "ping"
39DEFAULT_TEST_SUITES_pn-core-image-sato = "ping ssh df connman syslog xorg scp vnc date dmesg parselogs ${RPMTESTSUITE} \ 39DEFAULT_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)}"
41DEFAULT_TEST_SUITES_pn-core-image-sato-sdk = "ping ssh df connman syslog xorg scp vnc date perl ldd gcc kernelmodule dmesg python parselogs ${RPMTESTSUITE}" 41DEFAULT_TEST_SUITES_pn-core-image-sato-sdk = "ping ssh df connman syslog xorg scp vnc date perl ldd gcc kernelmodule python parselogs ${RPMTESTSUITE}"
42DEFAULT_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" 42DEFAULT_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"
43DEFAULT_TEST_SUITES_pn-meta-toolchain = "auto" 43DEFAULT_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 @@
1import unittest
2from oeqa.oetest import oeRuntimeTest
3from oeqa.utils.decorators import *
4
5
6class 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} \
17IMAGE_ROOTFS_EXTRA_SPACE_append += "+ 3000000" 17IMAGE_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!
20DEFAULT_TEST_SUITES = "ping ssh df connman syslog scp date dmesg parselogs" 20DEFAULT_TEST_SUITES = "ping ssh df connman syslog scp date parselogs"