]> code.ossystems Code Review - openembedded-core.git/commitdiff
oeqa/parselogs: Ignore qemu usbhid errors
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 Oct 2014 15:57:43 +0000 (16:57 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 Oct 2014 23:36:12 +0000 (00:36 +0100)
These are harmless from the USB pointer device we install, ignore them.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/runtime/parselogs.py

index 604a29a21c08d1fda5c6cdb6e8f7403232998e32..42cb1b5e6f3d243626a3a34d14ace5fc28413de2 100644 (file)
@@ -9,6 +9,8 @@ errors = ["error", "cannot", "can\'t", "failed"]
 common_errors = [
     '(WW) warning, (EE) error, (NI) not implemented, (??) unknown.',
     'dma timeout',
+    'can\'t add hid device:',
+    'usbhid: probe of ',
     ]
 
 x86_common = [
@@ -173,4 +175,4 @@ class ParseLogsTest(oeRuntimeTest):
                 self.msg +=  result[str(log)][str(error)]+"\n"
                 self.msg +=  "***********************\n"
         self.msg += "%s errors found in logs." % errcount
-        self.assertEqual(errcount, 0, msg=self.msg)
\ No newline at end of file
+        self.assertEqual(errcount, 0, msg=self.msg)