[Piglit] [PATCH 13/18] exectest.py: Add message to out when is_skip() is True

Dylan Baker baker.dylan.c at gmail.com
Fri Jul 11 11:32:33 PDT 2014


This adds a note so that one knows why a specific test skipped.

Signed-off-by: Dylan Baker <baker.dylan.c at gmail.com>
---
 framework/exectest.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/framework/exectest.py b/framework/exectest.py
index b32a1f0..9f5cf1c 100644
--- a/framework/exectest.py
+++ b/framework/exectest.py
@@ -167,7 +167,7 @@ class Test(object):
 
         if self.is_skip():
             self.result['result'] = 'skip'
-            self.result['out'] = ""
+            self.result['out'] = "skipped by self.is_skip()"
             self.result['err'] = ""
             self.result['returncode'] = None
             return
-- 
2.0.0



More information about the Piglit mailing list