Restore JUnit XML reports location for TestNG tests

This commit ensures that JUnit XML reports are generated in the old
Gradle 2.x location for all tests in the spring-test module.

Issue: SPR-14569
This commit is contained in:
Sam Brannen
2016-08-22 16:30:14 +02:00
parent e6353f0ec7
commit 9629afbcfd

View File

@@ -1034,6 +1034,7 @@ project("spring-test") {
// Show STD_OUT & STD_ERR of the test JVM(s) on the console:
// testLogging.showStandardStreams = true
// forkEvery 1
reports.junitXml.destination = file("$buildDir/test-results")
}
test {
@@ -1045,6 +1046,7 @@ project("spring-test") {
exclude(['**/testng/**/*.*'])
// Java Util Logging for JUnit 5.
// systemProperty('java.util.logging.manager', 'org.apache.logging.log4j.jul.LogManager')
reports.junitXml.destination = file("$buildDir/test-results")
}
task aggregateTestReports(type: TestReport) {