[oe-commits] Ross Burton : oeqa/runtime: remove dmesg test
git at git.openembedded.org
git at git.openembedded.org
Fri Jul 24 10:56:30 UTC 2015
Module: openembedded-core.git
Branch: master-next
Commit: 9dd3c187b3fbf5b007f8c9ef36a5627bebfcb295
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=9dd3c187b3fbf5b007f8c9ef36a5627bebfcb295
Author: Ross Burton <ross.burton at intel.com>
Date: Fri Jul 24 11:47:51 2015 +0100
oeqa/runtime: remove dmesg test
This has been obsoleted by parselogs.
Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/testimage.bbclass | 4 ++--
meta/lib/oeqa/runtime/dmesg.py | 12 ------------
2 files changed, 2 insertions(+), 14 deletions(-)
diff --git a/meta/classes/testimage.bbclass b/meta/classes/testimage.bbclass
index 2b655b4..37acb0c 100644
--- a/meta/classes/testimage.bbclass
+++ b/meta/classes/testimage.bbclass
@@ -34,9 +34,9 @@ TEST_EXPORT_ONLY ?= "0"
DEFAULT_TEST_SUITES = "ping auto"
DEFAULT_TEST_SUITES_pn-core-image-minimal = "ping"
-DEFAULT_TEST_SUITES_pn-core-image-sato = "ping ssh df connman syslog xorg scp vnc date dmesg parselogs \
+DEFAULT_TEST_SUITES_pn-core-image-sato = "ping ssh df connman syslog xorg scp vnc date parselogs \
${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'python smart rpm', '', d)}"
-DEFAULT_TEST_SUITES_pn-core-image-sato-sdk = "ping ssh df connman syslog xorg scp vnc date perl ldd gcc kernelmodule dmesg python parselogs \
+DEFAULT_TEST_SUITES_pn-core-image-sato-sdk = "ping ssh df connman syslog xorg scp vnc date perl ldd gcc kernelmodule python parselogs \
${@bb.utils.contains('IMAGE_PKGTYPE', 'rpm', 'smart rpm', '', d)}"
DEFAULT_TEST_SUITES_pn-meta-toolchain = "auto"
diff --git a/meta/lib/oeqa/runtime/dmesg.py b/meta/lib/oeqa/runtime/dmesg.py
deleted file mode 100644
index 5831471..0000000
--- a/meta/lib/oeqa/runtime/dmesg.py
+++ /dev/null
@@ -1,12 +0,0 @@
-import unittest
-from oeqa.oetest import oeRuntimeTest
-from oeqa.utils.decorators import *
-
-
-class DmesgTest(oeRuntimeTest):
-
- @testcase(215)
- @skipUnlessPassed('test_ssh')
- def test_dmesg(self):
- (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')
- self.assertEqual(status, 1, msg = "Error messages in dmesg log: %s" % output)
More information about the Openembedded-commits
mailing list