diff options
author | Andreas Beeker <kiwiwings@apache.org> | 2021-01-23 23:04:31 +0000 |
---|---|---|
committer | Andreas Beeker <kiwiwings@apache.org> | 2021-01-23 23:04:31 +0000 |
commit | 904c77e242d4f8b456f8df26af7b0ee3b8d07f86 (patch) | |
tree | 6d75672ade166bfce47c85035664fa6f4db1194a /build.xml | |
parent | 17372207f9d4164249c77e4efd7ae984eff4b39a (diff) | |
download | poi-904c77e242d4f8b456f8df26af7b0ee3b8d07f86.tar.gz poi-904c77e242d4f8b456f8df26af7b0ee3b8d07f86.zip |
Junit5 - fix logging to console
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885858 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -1246,8 +1246,6 @@ under the License. <length string="@{module2}" when="greater" length="0"/> </condition> - <delete file="@{outputDir}/status-as-tests-run.txt" failonerror="false"/> - <!-- As of 2018, JaCoCo is managing expectations and stay on Java 5 and therefore don't support junitlauncher --> <!-- https://github.com/jacoco/jacoco/issues/673 ... m( --> @@ -1262,7 +1260,6 @@ under the License. <testclasses outputDir="@{outputDir}"> <fork> - <sysproperty key="junit5.progress.file" value="@{outputDir}/status-as-tests-run.txt"/> <syspropertyset refid="junit.properties"/> <sysproperty key="java.io.tmpdir" value="${tempdir}"/> <jvmarg value="-Xmx@{heap}M"/> @@ -1294,16 +1291,12 @@ under the License. <jvmarg line="-Dorg.slf4j.simpleLogger.log.org.apache.poi=error"/> </fork> - <!-- can't use resultfile="status-as-tests-run.txt" here ... it's truncated with every test --> - <listener classname="Junit5Progress" outputDir="@{outputDir}" /> + <listener classname="Junit5Progress" /> <listener type="legacy-plain" sendSysOut="true" outputDir="@{outputDir}"/> <listener type="legacy-xml" sendSysOut="true" sendSysErr="true" outputDir="@{outputDir}"/> <elements/> </testclasses> </junitlauncher> - - <loadfile property="contents" srcFile="@{outputDir}/status-as-tests-run.txt" /> - <echo message="${contents}" /> </sequential> </macrodef> |