summaryrefslogtreecommitdiff
path: root/testsuite/mk/test.mk
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2017-07-28 11:40:42 -0400
committerBen Gamari <ben@smart-cactus.org>2017-07-28 12:36:47 -0400
commit54d3a1fdeb7044a1d9bb025d4880d08c708b4cd0 (patch)
tree89be22b3a8557bede1448bd73f85375849393cd1 /testsuite/mk/test.mk
parent5e940bd3d554729ce650008a72b4f82a78578a7b (diff)
downloadhaskell-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.mk4
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)"