[Piglit] [Patch v2 01/18] exectest.py: Remove {'result': 'skip'} from get_command_result()

Dylan Baker baker.dylan.c at gmail.com
Mon Jul 28 15:35:10 PDT 2014


Since 1012d68c an exception in Popen is no longer sent to
interpret_result(), instead it returns early, making this dead code.

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

diff --git a/framework/exectest.py b/framework/exectest.py
index fcc29af..52df05b 100644
--- a/framework/exectest.py
+++ b/framework/exectest.py
@@ -221,8 +221,7 @@ class Test(object):
             # failed.
             if e.errno == errno.ENOENT:
                 self.result['result'] = 'skip'
-                out = ("PIGLIT: {'result': 'skip'}\n"
-                       "Test executable not found.\n")
+                out = "Test executable not found.\n"
                 err = ""
                 returncode = None
             else:
-- 
2.0.2



More information about the Piglit mailing list