blob: f10c094e2547a9438a97e41e89bdf3527a0eafb0 [file] [log] [blame]
<?xml version="1.0"?>
<project name="JUnit tests" basedir=".">
<property name="library-xml-file"
value="${basedir}/plugins/org.eclipse.test_3.1.0/library.xml" />
<import file="${library-xml-file}" />
<property name="junit-report-output"
value="${basedir}/results" />
<target name="core-test">
<property name="extraVMargs" value="" />
<mkdir dir="${junit-report-output}" />
<antcall target="eclipse-test">
<param name="application"
value="org.eclipse.test.coretestapplication" />
<param name="extraVMargs"
value="${extraVMargs} -Dwtp.autotest.noninteractive=true" />
<param name="timeout" value="600000" />
<param name="junit-report-output"
value="${junit-report-output}" />
<param name="plugin-path"
value="${eclipse-home}/plugins" />
<param name="formatter"
value="org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter" />
<param name="test-output"
value="${eclipse-home}/${classname}.xml" />
</antcall>
</target>
<target name="ui-test">
<property name="extraVMargs" value="" />
<mkdir dir="${junit-report-output}" />
<antcall target="eclipse-test">
<param name="application"
value="org.eclipse.test.uitestapplication" />
<param name="extraVMargs"
value="${extraVMargs} -Dwtp.autotest.noninteractive=true" />
<param name="timeout" value="600000" />
<param name="junit-report-output"
value="${junit-report-output}" />
<param name="plugin-path"
value="${eclipse-home}/plugins" />
<param name="formatter"
value="org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter" />
<param name="test-output"
value="${eclipse-home}/${classname}.xml" />
</antcall>
</target>
</project>