Login | Register
My pages Projects Community openCollabNet

Discussions > commits > svn commit: r476 - trunk: . perhost

argouml-gen
Discussion topic

Back to topic list

svn commit: r476 - trunk: . perhost

Reply

Author linus
Full name Linus Tolke
Date 2007-07-07 12:44:03 PDT
Message Author: linus
Date: 2007-07-07 12:44:03-0700
New Revision: 476

Modified:
   trunk/build-reports.xml
   trunk/perhost/closettop.sh

Log:
Added coverage analysis to the nightly build (again).

Modified: trunk/build-reports.xml
Url: http://argouml-gen.t​igris.org/source/bro​wse/argouml-gen/trun​k/build-reports.xml?​view=diff&rev=47​6&p1=trunk/build​-reports.xml&p2=​trunk/build-reports.​xml&r1=475&r​2=476
====================​====================​====================​==================
--- trunk/build-reports.xml (original)
+++ trunk/build-reports.xml 2007-07-07 12:44:03-0700
@@ -118,32 +118,36 @@
 
 
   <target name="report:coverage"
- depends="init-report​s,instrument,coverag​e-test">
+ depends="init-reports" description=",instru​ment,coverage-test"​>
     <description>instrument and unit test</description>
 
- <cobertura-report destdir="${build.co​verage.dir}">
+ <delete dir="${build.covera​ge.dir}"/>
+ <mkdir dir="${build.covera​ge.dir}"/>
+
+ <cobertura-report destdir="${build.co​verage.dir}/coverage​">
       <fileset dir="${argo.src.dir}"/>
       <fileset dir="${argo.root.di​r}/src/model/src"/​>
       <fileset dir="${argo.root.di​r}/src/model-mdr/src​"/>
     </cobertura-report>
 
- <!-- <report srcdir="${argo.src.dir}" destdir="${build.co​verage.xml.dir}" format="xml"/> -->
-
     <exec executable="sed" input="argouml.log" output="${build.cov​erage.dir}/argouml.l​og">
       <arg value="s/^20[0-9][0-​9]-[01][0-9]-[0-3][0​-9] [0-2][0-9]:[0-5][0-9​]:[0-5][0-9],[0-9][0​-9][0-9] //"/>
     </exec>
     <delete file="argouml.log"/>
- <!-- <move file="argouml.log" todir="${build.cove​rage.dir}"/> -->
 
- <delete dir="${build.report​s.dir}/junit-result-​coverage"/>
- <mkdir dir="${build.report​s.dir}/junit-result-​coverage"/>
- <move todir="${build.repo​rts.dir}/junit-resul​t-coverage">
+ <mkdir dir="${build.covera​ge.dir}/junit"/>
+ <move todir="${build.cove​rage.dir}/junit">​
       <fileset dir="${argo.tests.r​eports}/junit/output​/html"/>
     </move>
 
+ <echo file="${build.cover​age.dir}/index.html"​>
+&lt;a href="coverage/index​.html"&gt;Covera​ge result&lt;/a&gt; &lt;br&gt;
+&lt;a href="junit/index.ht​ml"&gt;JUnit tests result&lt;/a&gt;
+ </echo>
+
     <echo>
 coverage reports have been generated.
-The HTML report is ${build.coverage.di​r}/index.html
+The report is ${build.coverage.di​r}/index.html
     </echo>
   </target>
 

Modified: trunk/perhost/closettop.sh
Url: http://argouml-gen.t​igris.org/source/bro​wse/argouml-gen/trun​k/perhost/closettop.​sh?view=diff&rev​=476&p1=trunk/pe​rhost/closettop.sh​&p2=trunk/perhost/​closettop.sh&r1=​475&r2=476
====================​====================​====================​==================
--- trunk/perhost/closettop.sh (original)
+++ trunk/perhost/closettop.sh 2007-07-07 12:44:03-0700
@@ -75,6 +75,7 @@
 DO_ONE_TARGET checkstyle reports/checkstyle
 DO_ONE_TARGET junit reports/junit
 DO_ONE_TARGET cpp-junit reports/cpp-junit
+DO_ONE_TARGET coverage reports/coverage
 
 # Building documentation
 PRESENTED=argouml-stats/www

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

svn commit: r476 - trunk: . perhost linus Linus Tolke 2007-07-07 12:44:03 PDT
Messages per page: