summaryrefslogtreecommitdiffstats
path: root/yocto-poky/meta/lib/oeqa/runtime/dmesg.py
diff options
context:
space:
mode:
Diffstat (limited to 'yocto-poky/meta/lib/oeqa/runtime/dmesg.py')
-rw-r--r--yocto-poky/meta/lib/oeqa/runtime/dmesg.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/yocto-poky/meta/lib/oeqa/runtime/dmesg.py b/yocto-poky/meta/lib/oeqa/runtime/dmesg.py
new file mode 100644
index 000000000..5831471e5
--- /dev/null
+++ b/yocto-poky/meta/lib/oeqa/runtime/dmesg.py
@@ -0,0 +1,12 @@
+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)
OpenPOWER on IntegriCloud