testsuite: Report stdout and stderr in JUnit output

Authored by bgamari on Jan 24 2019, 1:20 PM.

Description

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.

Details

Committed
Marge Bot <ben+marge-bot@smart-cactus.org>Feb 10 2019, 7:37 AM
Parents
rGHCa48753bdbc99: Capture and simplify constraints arising from running typed splices
Branches
Unknown
Tags
Unknown
Marge Bot <ben+marge-bot@smart-cactus.org> committed rGHC224fec6983e1: testsuite: Report stdout and stderr in JUnit output (authored by bgamari).Feb 10 2019, 7:37 AM