2004-03-08 17:01:50 +00:00
|
|
|
<project name="CDT Automated Tests" default="run" basedir=".">
|
|
|
|
|
|
|
|
<property name="cdt-core-loc" value="${eclipse-home}/cdt_core_folder"/>
|
2005-02-09 21:43:26 +00:00
|
|
|
<property name="cdt-ui-loc" value="${eclipse-home}/cdt_ui_folder"/>
|
|
|
|
<property name="cdt-debug-ui-loc" value="${eclipse-home}/cdt_debug_ui_folder"/>
|
2005-05-21 20:53:12 +00:00
|
|
|
<property name="cdt-mbs-core-loc" value="${eclipse-home}/cdt_mbs_core_folder"/>
|
|
|
|
<property name="cdt-mbs-ui-loc" value="${eclipse-home}/cdt_mbs_ui_folder"/>
|
2004-03-08 17:01:50 +00:00
|
|
|
|
|
|
|
<target name="init">
|
2007-06-12 18:16:09 +00:00
|
|
|
<echo message="library file: ${library-file}"/>
|
2004-03-08 17:01:50 +00:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="cleanup">
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="run" depends="init,suite">
|
|
|
|
<ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
|
|
|
|
<property name="includes" value="org*.xml"/>
|
|
|
|
<property name="output-file" value="org.eclipse.cdt.testing.xml"/>
|
|
|
|
</ant>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="cdt-core" depends="init">
|
2007-06-12 18:17:24 +00:00
|
|
|
<ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}">
|
2004-03-08 17:01:50 +00:00
|
|
|
<property name="data-dir" value="${cdt-core-loc}"/>
|
|
|
|
<property name="plugin-name" value="org.eclipse.cdt.core.tests"/>
|
|
|
|
<property name="classname" value="org.eclipse.cdt.core.suite.AutomatedIntegrationSuite"/>
|
|
|
|
</ant>
|
|
|
|
</target>
|
|
|
|
|
2005-02-09 20:24:21 +00:00
|
|
|
<target name="cdt-ui" depends="init">
|
|
|
|
<ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}">
|
2005-02-09 21:43:26 +00:00
|
|
|
<property name="data-dir" value="${cdt-ui-loc}"/>
|
2005-02-09 20:24:21 +00:00
|
|
|
<property name="plugin-name" value="org.eclipse.cdt.ui.tests"/>
|
|
|
|
<property name="classname" value="org.eclipse.cdt.ui.tests.AutomatedSuite"/>
|
|
|
|
</ant>
|
|
|
|
</target>
|
|
|
|
|
2005-02-09 21:43:26 +00:00
|
|
|
<target name="cdt-debug-ui" depends="init">
|
|
|
|
<ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}">
|
|
|
|
<property name="data-dir" value="${cdt-debug-ui-loc}"/>
|
|
|
|
<property name="plugin-name" value="org.eclipse.cdt.debug.ui.tests"/>
|
|
|
|
<property name="classname" value="org.eclipse.cdt.debug.core.tests.AllDebugTests"/>
|
|
|
|
</ant>
|
|
|
|
</target>
|
|
|
|
|
2005-05-21 20:53:12 +00:00
|
|
|
<target name="cdt-mbs-core" depends="init">
|
2005-02-09 21:43:26 +00:00
|
|
|
<ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}">
|
2005-05-21 20:53:12 +00:00
|
|
|
<property name="data-dir" value="${cdt-mbs-core-loc}"/>
|
2005-02-09 21:43:26 +00:00
|
|
|
<property name="plugin-name" value="org.eclipse.cdt.managedbuilder.core.tests"/>
|
2005-05-21 20:53:12 +00:00
|
|
|
<property name="classname" value="org.eclipse.cdt.managedbuilder.tests.suite.AllManagedBuildTests"/>
|
|
|
|
</ant>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="cdt-mbs-ui" depends="init">
|
|
|
|
<ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}">
|
|
|
|
<property name="data-dir" value="${cdt-mbs-ui-loc}"/>
|
|
|
|
<property name="plugin-name" value="org.eclipse.cdt.managedbuilder.ui.tests"/>
|
|
|
|
<property name="classname" value="org.eclipse.cdt.managedbuilder.ui.tests.suite.AllManagedBuildUITests"/>
|
2005-02-09 21:43:26 +00:00
|
|
|
</ant>
|
|
|
|
</target>
|
|
|
|
|
2005-02-09 20:24:21 +00:00
|
|
|
<target name="suite">
|
|
|
|
<antcall target="cdt-core"/>
|
2006-08-31 15:16:21 +00:00
|
|
|
<antcall target="cdt-ui"/>
|
2007-06-20 19:04:50 +00:00
|
|
|
<!--antcall target="cdt-debug-ui"/-->
|
2007-06-13 02:34:28 +00:00
|
|
|
<antcall target="cdt-mbs-core"/>
|
|
|
|
<antcall target="cdt-mbs-ui"/>
|
2005-02-09 20:24:21 +00:00
|
|
|
</target>
|
2004-03-08 17:01:50 +00:00
|
|
|
|
|
|
|
</project>
|