diff options
Diffstat (limited to 'yocto-poky/meta/lib/oeqa/runtime/dmesg.py')
-rw-r--r-- | yocto-poky/meta/lib/oeqa/runtime/dmesg.py | 12 |
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 0000000000..5831471e50 --- /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) |