for the series:
Reviewed-by: Dylan Baker <[email protected]>

On Thu, Mar 26, 2015 at 03:43:17PM +0000, Thomas Wood wrote:
> Don't exit during the post run hook if the environment check fails and
> dry-run mode is enabled.
> 
> Signed-off-by: Thomas Wood <[email protected]>
> ---
>  tests/igt.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/igt.py b/tests/igt.py
> index 8c7963b..8ffac8d 100644
> --- a/tests/igt.py
> +++ b/tests/igt.py
> @@ -92,7 +92,7 @@ else:
>  class IGTTestProfile(TestProfile):
>      """Test profile for intel-gpu-tools tests."""
>      def _pre_run_hook(self, opts):
> -        if not check_environment():
> +        if opts.execute and not check_environment():
>              sys.exit(1)
>  
>  
> -- 
> 2.1.0
> 
> _______________________________________________
> Piglit mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/piglit

Attachment: signature.asc
Description: Digital signature

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

Reply via email to