An awful lot of tests rely on in-kernel checks to detect issues. So
we better make them fail properly.

Note that the dmesg check relies on dmesg timestamps to work correctly.
If you don't have them it won't work.

Cc: Paulo Zanoni <[email protected]>
---
 tests/igt.tests | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/igt.tests b/tests/igt.tests
index 0f19c82..1d0da50 100644
--- a/tests/igt.tests
+++ b/tests/igt.tests
@@ -60,6 +60,9 @@ class IGTTest(ExecTest):
        else:
            results['result'] = 'dmesg-fail' if dmesg != '' else 'fail'
        return out
+    def run(self, env):
+        env.dmesg = True
+        return ExecTest.run(self, env)
 
 def listTests(listname):
     oldDir = os.getcwd()
-- 
1.8.1.4

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to