[Piglit] [PATCH 0/2] Handle subtests in JUnit output
baker.dylan.c at gmail.com
baker.dylan.c at gmail.com
Fri Dec 4 16:20:58 PST 2015
From: Dylan Baker <baker.dylan.c at gmail.com>
This series changes the way the JUnit backend generates results for
tests with subtests. Rather than generating them as a single test and
ignoring the subtests it generates them as a testsuite, and then adds
each subtest as a test. This allows subtests to be represented nicely
and to avoid duplicating large amounts of data in the xml file.
Dylan Baker (2):
framework/backends/junit.py: refactor _write into several helpers.
framework/backends/junit.py: Handle tests with subtests as testsuite
elements
framework/backends/junit.py | 263 +++++++++++++++++++++++---------
framework/tests/junit_backends_tests.py | 206 ++++++++++++++++++++++++-
2 files changed, 393 insertions(+), 76 deletions(-)
--
2.6.3
More information about the Piglit
mailing list