[commit: ghc] wip/T16188: testsuite: Report stdout and stderr in JUnit output (224fec6)

git at git.haskell.org git at git.haskell.org
Sun Feb 10 21:31:47 UTC 2019


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/T16188
Link       : http://ghc.haskell.org/trac/ghc/changeset/224fec6983e16ecfc44a80d47e591a2425468eaf/ghc

>---------------------------------------------------------------

commit 224fec6983e16ecfc44a80d47e591a2425468eaf
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Thu Jan 24 14:20:11 2019 -0500

    testsuite: Report stdout and stderr in JUnit output
    
    This patch makes the JUnit output more useful as now we also report the
    stdout/stderr in the message which can be used to quickly identify why a
    test is failing without downloading the log.
    
    This also introduces TestResult,
    previously we were simply passing around tuples, making things the
    implementation rather difficult to follow and harder to extend.


>---------------------------------------------------------------

224fec6983e16ecfc44a80d47e591a2425468eaf
 testsuite/driver/junit.py       | 23 ++++++++--------
 testsuite/driver/testglobals.py | 15 +++++++++++
 testsuite/driver/testlib.py     | 58 ++++++++++++++++++++++++++---------------
 testsuite/driver/testutil.py    |  7 +++--
 4 files changed, 69 insertions(+), 34 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 224fec6983e16ecfc44a80d47e591a2425468eaf


More information about the ghc-commits mailing list