ソースを参照

Added clover.xml and test-xml targets to junitreport


git-svn-id: http://svn.dmdirc.com/trunk@3865 00569f92-eb28-0410-84fd-f71c24880f
tags/0.6
Chris Smith 16年前
コミット
95ea091ee0
1個のファイルの変更11行の追加2行の削除
  1. 11
    2
      junitreport.xml

+ 11
- 2
junitreport.xml ファイルの表示

@@ -16,16 +16,24 @@
16 16
         </clover-setup>
17 17
     </target>
18 18
 
19
-    <target name="clover.html" if="clover.installed">
19
+    <target name="clover.xml" if="clover.installed">
20 20
         <mkdir dir="reports/clover" />
21 21
         <mkdir dir="reports/clover/history" />
22 22
         <clover-historypoint historydir="reports/clover/history" />
23 23
         <clover-report>
24 24
          <current outfile="reports/clover/clover.xml"/>
25
+        </clover-report>
26
+    </target>
27
+
28
+    <target name="clover.html" if="clover.installed">
29
+        <mkdir dir="reports/clover" />
30
+        <mkdir dir="reports/clover/history" />
31
+        <clover-historypoint historydir="reports/clover/history" />
32
+        <clover-report>
25 33
          <current outfile="reports/clover">
26 34
           <format type="html"/>
27 35
          </current>
28
-         <!-- <historical outfile="reports/clover" historydir="reports/clover/history" /> -->
36
+         <historical outfile="reports/clover" historydir="reports/clover/history" />
29 37
         </clover-report>
30 38
     </target>
31 39
 
@@ -35,6 +43,7 @@
35 43
 
36 44
 		
37 45
    <target name="test-html" depends="with.clover,compile-test,test,clover.html"/>
46
+   <target name="test-xml" depends="with.clover,compile-test,test,clover.xml"/>
38 47
    <target name="-post-test-run">
39 48
       <junitreport todir="${test.reports}">
40 49
         <fileset dir="${build.test.results.dir}">

読み込み中…
キャンセル
保存