Output test results as xml such that jenkins can parse the test results

Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/5f54a97f
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/5f54a97f
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/5f54a97f

Branch: refs/heads/feature/RollingFileAppender-NG
Commit: 5f54a97f508a4b67e9008bfef9183744b64c46c4
Parents: c761cc6
Author: Dominik Psenner <[email protected]>
Authored: Tue Jul 4 10:15:38 2017 +0200
Committer: Dominik Psenner <[email protected]>
Committed: Tue Jul 4 10:15:38 2017 +0200

----------------------------------------------------------------------
 tests/nant.build | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/5f54a97f/tests/nant.build
----------------------------------------------------------------------
diff --git a/tests/nant.build b/tests/nant.build
index 14a0778..9991067 100644
--- a/tests/nant.build
+++ b/tests/nant.build
@@ -789,77 +789,77 @@ limitations under the License.
     
     <target name="runtests-net-1.0" description="Runs log4net tests on .NET 
Framework 1.0 version" depends="compile-net-1.0">
         <nunit2>
-            <formatter type="Plain" />
+            <formatter type="Xml" usefile="true" extension=".xml" 
outputdir="${current.bin.dir}/results" />
             <test assemblyname="${current.bin.dir}/log4net.Tests.dll" />
         </nunit2>
     </target>
 
     <target name="runtests-net-1.1" description="Runs log4net tests on .NET 
Framework 1.1 version" depends="compile-net-1.1">
         <nunit2>
-            <formatter type="Plain" />
+            <formatter type="Xml" usefile="true" extension=".xml" 
outputdir="${current.bin.dir}/results" />
             <test assemblyname="${current.bin.dir}/log4net.Tests.dll" />
         </nunit2>
     </target>
 
     <target name="runtests-net-2.0" description="Runs log4net tests on .NET 
Framework 2.0 version" depends="compile-net-2.0">
         <nunit2>
-            <formatter type="Plain" />
+            <formatter type="Xml" usefile="true" extension=".xml" 
outputdir="${current.bin.dir}/results" />
             <test assemblyname="${current.bin.dir}/log4net.Tests.dll" />
         </nunit2>
     </target>
 
     <target name="runtests-mono-2.0" description="Runs log4net tests on Mono 
Framework 2.0 version" depends="compile-mono-2.0">
         <nunit2>
-            <formatter type="Plain" />
+            <formatter type="Xml" usefile="true" extension=".xml" 
outputdir="${current.bin.dir}/results" />
             <test assemblyname="${current.bin.dir}/log4net.Tests.dll" />
         </nunit2>
     </target>
 
     <target name="runtests-mono-3.5" description="Runs log4net tests on Mono 
Framework 3.5 version" depends="compile-mono-3.5">
         <nunit2>
-            <formatter type="Plain" />
+            <formatter type="Xml" usefile="true" extension=".xml" 
outputdir="${current.bin.dir}/results" />
             <test assemblyname="${current.bin.dir}/log4net.Tests.dll" />
         </nunit2>
     </target>
 
     <target name="runtests-mono-4.0" description="Runs log4net tests on Mono 
Framework 4.0 version" depends="compile-mono-4.0">
         <nunit2>
-            <formatter type="Plain" />
+            <formatter type="Xml" usefile="true" extension=".xml" 
outputdir="${current.bin.dir}/results" />
             <test assemblyname="${current.bin.dir}/log4net.Tests.dll" />
         </nunit2>
     </target>
 
     <target name="runtests-net-3.5" description="Runs log4net tests on .NET 
Framework 3.5 version" depends="compile-net-3.5">
         <nunit2>
-            <formatter type="Plain" />
+            <formatter type="Xml" usefile="true" extension=".xml" 
outputdir="${current.bin.dir}/results" />
             <test assemblyname="${current.bin.dir}/log4net.Tests.dll" />
         </nunit2>
     </target>
 
     <target name="runtests-net-3.5-cp" description="Runs log4net tests on .NET 
Framework 3.5 Client Profile version" depends="compile-net-3.5-cp">
         <nunit2>
-            <formatter type="Plain" />
+            <formatter type="Xml" usefile="true" extension=".xml" 
outputdir="${current.bin.dir}/results" />
             <test assemblyname="${current.bin.dir}/log4net.Tests.dll" />
         </nunit2>
     </target>
 
     <target name="runtests-net-4.0" description="Runs log4net tests on .NET 
Framework 4.0 version" depends="compile-net-4.0">
         <nunit2>
-            <formatter type="Plain" />
+            <formatter type="Xml" usefile="true" extension=".xml" 
outputdir="${current.bin.dir}/results" />
             <test assemblyname="${current.bin.dir}/log4net.Tests.dll" />
         </nunit2>
     </target>
 
     <target name="runtests-net-4.0-cp" description="Runs log4net tests on .NET 
Framework 4.0 Client Profile version" depends="compile-net-4.0-cp">
         <nunit2>
-            <formatter type="Plain" />
+            <formatter type="Xml" usefile="true" extension=".xml" 
outputdir="${current.bin.dir}/results" />
             <test assemblyname="${current.bin.dir}/log4net.Tests.dll" />
         </nunit2>
     </target>
 
     <target name="runtests-net-4.5" description="Runs log4net tests on .NET 
Framework 4.5 version" depends="compile-net-4.5">
         <nunit2>
-            <formatter type="Plain" />
+            <formatter type="Xml" usefile="true" extension=".xml" 
outputdir="${current.bin.dir}/results" />
             <test assemblyname="${current.bin.dir}/log4net.Tests.dll" />
         </nunit2>
     </target>

Reply via email to