[Piglit] [PATCH] test/gleantest: fix missing --quick property from quick profile

Timothy Arceri tarceri at itsqueeze.com
Fri May 19 06:21:13 UTC 2017


---
 framework/test/gleantest.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/framework/test/gleantest.py b/framework/test/gleantest.py
index b2d56f3..0220c1a 100644
--- a/framework/test/gleantest.py
+++ b/framework/test/gleantest.py
@@ -49,21 +49,21 @@ class GleanTest(Test):
 
     def __init__(self, name, **kwargs):
         super(GleanTest, self).__init__(
             [self._EXECUTABLE, "-o", "-v", "-v", "-v", "-t", "+" + name],
             **kwargs)
 
     @Test.command.getter
     def command(self):
         return super(GleanTest, self).command + self.GLOBAL_PARAMS
 
-    @Test.command.setter
+    @command.setter
     def command(self, new):
         self._command = [n for n in new if not n in self.GLOBAL_PARAMS]
 
     def interpret_result(self):
         if self.result.returncode != 0 or 'FAIL' in self.result.out:
             self.result.result = 'fail'
         else:
             self.result.result = 'pass'
         super(GleanTest, self).interpret_result()
 
-- 
2.9.4



More information about the Piglit mailing list