summaryrefslogtreecommitdiff
path: root/validate
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 /validate
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 'validate')
-rwxr-xr-xvalidate2
1 files changed, 2 insertions, 0 deletions
diff --git a/validate b/validate
index 09f4fd2f23..d885bd76ba 100755
--- a/validate
+++ b/validate
@@ -296,6 +296,7 @@ rm -f testsuite_summary.txt testsuite_summary_stage1.txt
$make -C testsuite/tests $BINDIST $PYTHON_ARG \
$MAKE_TEST_TARGET stage=2 LOCAL=0 $TEST_VERBOSITY THREADS=$threads \
NO_PRINT_SUMMARY=YES SUMMARY_FILE=../../testsuite_summary.txt \
+ JUNIT_FILE=../../testsuite.xml \
2>&1 | tee testlog
# Run a few tests using the stage1 compiler.
@@ -304,6 +305,7 @@ $make -C testsuite/tests $BINDIST $PYTHON_ARG \
$make -C testsuite/tests/stage1 $PYTHON_ARG \
$MAKE_TEST_TARGET stage=1 LOCAL=0 $TEST_VERBOSITY THREADS=$threads \
NO_PRINT_SUMMARY=YES SUMMARY_FILE=../../../testsuite_summary_stage1.txt \
+ JUNIT_FILE=../../../testsuite_stage1.xml \
2>&1 | tee testlog-stage1
echo