db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r636479 - /db/derby/code/trunk/build.xml
Date Wed, 12 Mar 2008 19:48:56 GMT
Author: djd
Date: Wed Mar 12 12:48:55 2008
New Revision: 636479

URL: http://svn.apache.org/viewvc?rev=636479&view=rev
Log:
Simple change that splits the ant junit HTML report generation from the junit-all target.
Now junit-html can be included in any run of tests via ant to produce a HTML version of the
report, which is much more readable than XML. E.g.

ant junit-system-mini-codeline-jars junit-html

ant -Dderby.junit.testclass=org.... junit-single junit-html

Modified:
    db/derby/code/trunk/build.xml

Modified: db/derby/code/trunk/build.xml
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/build.xml?rev=636479&r1=636478&r2=636479&view=diff
==============================================================================
--- db/derby/code/trunk/build.xml (original)
+++ db/derby/code/trunk/build.xml Wed Mar 12 12:48:55 2008
@@ -2058,7 +2058,10 @@
   <target name="junit-all" depends="junit-core,junit-jdbc4,junit-jmx">
   </target>
  
-  <target name="junitreport" depends="junit-sysinfo,junit-all">
+  <target name="junitreport" depends="junit-all,junit-html"/>
+  
+  <!-- Convert the junit xml format to HTML -->
+  <target name="junit-html" depends="junit-sysinfo">
     <junitreport todir="junit_${derby.junit.timestamp}">
       <fileset dir="junit_${derby.junit.timestamp}">
         <include name="TEST-*.xml"/>



Mime
View raw message