[Piglit] [PATCH] Restore junit_suffix functionality

Jason Ekstrand jason at jlekstrand.net
Wed Oct 29 13:00:31 PDT 2014


Reviewed-by: Jason Ekstrand <jason.ekstrand at intel.com>

I also pushed it.

On Wed, Oct 29, 2014 at 12:50 PM, Mark Janes <mark.a.janes at intel.com> wrote:

> b8d8cfadcc83fd09c1367821337d473d80bb6607 inadvertenty disabled the
> --junit_suffix functionality, which is needed to differentiate results
> from multiple test runs.
> ---
>  framework/backends/junit.py | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/framework/backends/junit.py b/framework/backends/junit.py
> index 09faea5..1c27e98 100644
> --- a/framework/backends/junit.py
> +++ b/framework/backends/junit.py
> @@ -45,9 +45,9 @@ class JUnitBackend(FileBackend):
>      """
>      _REPLACE = re.compile(r'[/\\]')
>
> -    def __init__(self, dest, junit_test_suffix='', **options):
> +    def __init__(self, dest, junit_suffix='', **options):
>          super(JUnitBackend, self).__init__(dest, **options)
> -        self._test_suffix = junit_test_suffix
> +        self._test_suffix = junit_suffix
>
>          # make dictionaries of all test names expected to crash/fail
>          # for quick lookup when writing results.  Use lower-case to
> --
> 2.1.1
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20141029/8d76816b/attachment.html>


More information about the Piglit mailing list