[Piglit] [PATCH 2/2] tests/igt.py: discard dmesg output that does not match certain keywords

Thomas Wood thomas.wood at intel.com
Wed Apr 30 09:12:14 PDT 2014


Signed-off-by: Thomas Wood <thomas.wood at intel.com>
---
 tests/igt.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/igt.py b/tests/igt.py
index 7cfb6ad..d8dfa15 100644
--- a/tests/igt.py
+++ b/tests/igt.py
@@ -256,3 +256,6 @@ for test in multiTests:
     addSubTestCases(test)
 
 profile.dmesg = True
+
+# the dmesg property of TestProfile returns a Dmesg object
+profile.dmesg.regex = re.compile("(drm|gem|i915)")
-- 
1.9.0



More information about the Piglit mailing list