ignored test-bin folder

junit reports in xml
This commit is contained in:
Federico Fissore 2012-12-04 13:43:21 +01:00
parent 320648e67f
commit e18d2a018d
2 changed files with 5 additions and 3 deletions

1
.gitignore vendored
View File

@ -16,3 +16,4 @@ hardware/arduino/bootloaders/caterina_LUFA/.dep/
.gitignore .gitignore
build/windows/work/ build/windows/work/
build/linux/work/ build/linux/work/
test-bin

View File

@ -3,6 +3,7 @@
<target name="clean" description="Clean the build directories"> <target name="clean" description="Clean the build directories">
<delete dir="bin" /> <delete dir="bin" />
<delete dir="test-bin" />
<delete file="pde.jar" /> <delete file="pde.jar" />
</target> </target>
@ -49,7 +50,7 @@
</copy> </copy>
</target> </target>
<target name="test" description="Runs the test"> <target name="test" depends="compile" description="Runs the test">
<mkdir dir="test-bin"/> <mkdir dir="test-bin"/>
<javac source="1.5" target="1.5" <javac source="1.5" target="1.5"
@ -88,7 +89,7 @@
<pathelement location="test-lib/junit-4.11.jar"/> <pathelement location="test-lib/junit-4.11.jar"/>
</classpath> </classpath>
<formatter type="plain"/> <formatter type="xml"/>
<batchtest fork="yes" todir="test-bin"> <batchtest fork="yes" todir="test-bin">
<fileset dir="test"> <fileset dir="test">
@ -99,7 +100,7 @@
</target> </target>
<target name="build" depends="compile,test" description="Build PDE"> <target name="build" depends="test" description="Build PDE">
<jar basedir="bin" destfile="pde.jar" /> <jar basedir="bin" destfile="pde.jar" />
</target> </target>
</project> </project>