blob: 7662668898a5cbcde72a1ace1335af05c321d15e [file] [log] [blame]
<?xml version="1.0"?>
<project name="junit-test" basedir="." default="outputTests">
<property name="showoutput" value="false" />
<path id="test">
<pathelement path="${java.class.path}" />
<pathelement location="../../../../../build/testcases" />
</path>
<target name="testForkedOutput">
<junit fork="yes" haltonerror="true" haltonfailure="true"
showoutput="${showoutput}">
<test name="org.example.junit.Output" />
<classpath refid="test" />
</junit>
</target>
<target name="testNonForkedOutput">
<junit fork="false" haltonerror="true" haltonfailure="true"
showoutput="${showoutput}">
<test name="org.example.junit.Output" />
<classpath refid="test" />
</junit>
</target>
<target name="testForkedThreadedOutput">
<junit fork="yes" haltonerror="true" haltonfailure="true"
showoutput="${showoutput}">
<test name="org.example.junit.ThreadedOutput" />
<classpath refid="test" />
</junit>
</target>
<target name="testNonForkedThreadedOutput">
<junit fork="false" haltonerror="true" haltonfailure="true"
showoutput="${showoutput}">
<test name="org.example.junit.ThreadedOutput" />
<classpath refid="test" />
</junit>
</target>
<target name="outputTests"
depends="testForkedOutput,testNonForkedOutput,testForkedThreadedOutput,testNonForkedThreadedOutput" />
</project>