Browse Source

Added uncommited changes from soren


git-svn-id: http://svn.dmdirc.com/trunk@2024 00569f92-eb28-0410-84fd-f71c24880f
tags/0.5
Shane Mc Cormack 17 years ago
parent
commit
b5676bbd55
1 changed files with 18 additions and 2 deletions
  1. 18
    2
      junitreport.xml

+ 18
- 2
junitreport.xml View File

@@ -3,11 +3,27 @@
3 3
 <!-- some examples of how to customize the build. -->
4 4
 <!-- (If you delete it and reopen the project it will be recreated.) -->
5 5
 <project name="DMDirc" default="default" basedir=".">
6
+    <taskdef resource="clovertasks"/>
6 7
     <description>Builds, tests, and runs the project DMDirc.</description>
7 8
     <import file="nbproject/build-impl.xml"/>
8 9
     <property file="nbproject/project.properties"/>
9 10
     <property name="test.reports" value="./junitreports" />
10
-   <target name="test-html" depends="compile-test,test" />
11
+<!--    <target name="with.clover">
12
+       <clover-setup initString="mycoverage.db" source="1.5"/>
13
+    </target>
14
+   <target name="test-html" depends="with.clover,compile-test,test">
15
+       <classpath>
16
+           <pathelement path="${ant.home}/lib/clover.jar"/>
17
+       </classpath>
18
+   </target>
19
+    <target name="clover.html" depends="with.clover">
20
+        <clover-report>
21
+            <current outfile="clover_html">
22
+                <format type="html"/>
23
+            </current>
24
+        </clover-report>
25
+    </target> -->
26
+   <target name="test-html" depends="compile-test,test"/>
11 27
    <target name="-post-test-run">
12 28
 <!--   <target name="test-html" depends="compile-test,test"> -->
13 29
       <junitreport todir="${test.reports}">
@@ -16,6 +32,6 @@
16 32
         </fileset>
17 33
         <report todir="${test.reports}" />
18 34
       </junitreport>
19
-      <fail if="tests.failed">Some tests failed; see details above.</fail>
35
+<!--      <fail if="tests.failed">Some tests failed; see details above.</fail> -->
20 36
     </target>
21 37
 </project>

Loading…
Cancel
Save