[Piglit] [PATCH 1/2] xts: Avoid python exception when the XTS command itself failed.
Dylan Baker
dylan at pnwbakers.com
Thu Sep 1 00:31:19 UTC 2016
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
Quoting Eric Anholt (2016-08-31 16:40:20)
> ---
> tests/xts.py | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tests/xts.py b/tests/xts.py
> index c34b600883d8..9ff4eb99cc9d 100644
> --- a/tests/xts.py
> +++ b/tests/xts.py
> @@ -144,6 +144,7 @@ class XTSTest(Test): # pylint: disable=too-few-public-methods
> os.remove(self.test_results_file)
> except IOError:
> self.result.err = "No results file found"
> + log = ""
>
> if self.result.returncode == 0:
> if re.search('FAIL', self.result.out) is not None:
> --
> 2.9.3
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/piglit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20160831/e1d3e1d6/attachment.sig>
More information about the Piglit
mailing list