diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2017-07-28 11:40:42 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-07-28 12:36:47 -0400 |
commit | 54d3a1fdeb7044a1d9bb025d4880d08c708b4cd0 (patch) | |
tree | 89be22b3a8557bede1448bd73f85375849393cd1 /testsuite/mk/test.mk | |
parent | 5e940bd3d554729ce650008a72b4f82a78578a7b (diff) | |
download | haskell-54d3a1fdeb7044a1d9bb025d4880d08c708b4cd0.tar.gz |
testsuite: Produce JUnit output
Test Plan: Validate, try ingesting into Jenkins.
Reviewers: austin
Subscribers: rwbarton, thomie
GHC Trac Issues: #13716
Differential Revision: https://phabricator.haskell.org/D3796
Diffstat (limited to 'testsuite/mk/test.mk')
-rw-r--r-- | testsuite/mk/test.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/mk/test.mk b/testsuite/mk/test.mk index 6c3963679d..a21c4bb16b 100644 --- a/testsuite/mk/test.mk +++ b/testsuite/mk/test.mk @@ -246,6 +246,10 @@ RUNTEST_OPTS += \ RUNTEST_OPTS += -e "config.stage=$(GhcStage)" +ifneq "$(JUNIT_FILE)" "" +RUNTEST_OPTS += \ + --junit "$(JUNIT_FILE)" +endif ifneq "$(SUMMARY_FILE)" "" RUNTEST_OPTS += \ --summary-file "$(SUMMARY_FILE)" |