-
Notifications
You must be signed in to change notification settings - Fork 24
/
ci-reports.xml
33 lines (25 loc) · 1.22 KB
/
ci-reports.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<project name="ci-reports" default="report-unit-tests">
<property name="project.dir" value="${basedir}/ureport_project" />
<property name="target.dir" value="${project.dir}/target" />
<property name="target.reports.dir" value="${target.dir}/reports" />
<property name="target.reports.unit-test.dir" value="${target.reports.dir}/unit-test" />
<property name="target.reports.functional-test.dir" value="${target.reports.dir}/functional-test" />
<target name="report-unit-tests">
<mkdir dir="${target.reports.unit-test.dir}/html" />
<junitreport todir="${target.reports.unit-test.dir}">
<fileset dir="${target.reports.unit-test.dir}">
<include name="nosetests.*.xml"/>
</fileset>
<report format="frames" todir="${target.reports.unit-test.dir}/html"/>
</junitreport>
</target>
<target name="report-functional-tests">
<mkdir dir="${target.reports.functional-test.dir}/html" />
<junitreport todir="${target.reports.functional-test.dir}">
<fileset dir="${target.reports.functional-test.dir}">
<include name="nosetests.*.xml"/>
</fileset>
<report format="frames" todir="${target.reports.functional-test.dir}/html"/>
</junitreport>
</target>
</project>