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

Michel Dänzer michel at daenzer.net
Mon May 22 07:21:44 UTC 2017


On 19/05/17 03:21 PM, Timothy Arceri wrote:
> ---
>  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()
>  
> 

Thanks Timothy.

Tested-by: Michel Dänzer <michel.daenzer at amd.com>


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer



More information about the Piglit mailing list