[GHC] #15093: Testsuite should output JUnit XML for better CircleCI support
GHC
ghc-devs at haskell.org
Fri Apr 27 10:15:27 UTC 2018
#15093: Testsuite should output JUnit XML for better CircleCI support
-------------------------------------+-------------------------------------
Reporter: mpickering | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone: 8.6.1
Component: Compiler | Version: 8.2.2
Keywords: CI | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
At the moment when builds are run on CircleCI, failures are not reported
in any special way. This means you have to download the build log to see
the bottom of the testing phase as it is too long to see in the browser.
Instead, you can output the test results as JUnit XML which then CircleCI
can slurp up and present nicely. https://circleci.com/docs/2.0
/configuration-reference/#store_test_results
There is a python library which makes it easy to generate this output.
https://github.com/kyrus/python-junit-xml
Even better, an actual python testing library could be used which could
automatically output this information.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15093>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list