[Piglit] [PATCH 2/2] igt.py: don't check the environment when in dry-run mode
Dylan Baker
baker.dylan.c at gmail.com
Thu Mar 26 10:21:53 PDT 2015
for the series:
Reviewed-by: Dylan Baker <baker.dylan.c at gmail.com>
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 <thomas.wood at intel.com>
> ---
> 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
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20150326/d09e9579/attachment.sig>
More information about the Piglit
mailing list