org.eclipse.ant.tests.core/test.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (download) (as text) (annotate)
Mon Aug 30 18:13:38 2004 UTC (5 years, 2 months ago) by sdimitro
Branch: MAIN
CVS Tags: v20091118, v20090504, R3_3_1_1, I20060605-1430, R3_2_1, v20041018, R3_2_2, v20060328, v20091109, v200911091122_r352, v20050418, v20041129, v20081103, v20050616, v20060327, R3_4, R3_5, R3_1, R3_2, R3_3, v20050207, v20050323, v20050124, v20080318, v20050509, v20070315, pre_R3_3, v20041101, v20041206, v20091109_r342, v20090428, v20050131, v20090126-0900, v20050502, v20051128, v20091110_r342, v20091109_r352, v20050228, v20060605, v20050526b, v20091110_r352, v20060510, v20080818, v20080721, v20080723, v20040830, R3_1_2, v20050525, R3_1_1, R3_5_1, v20080529, R3_3_1, R3_3_2, v20070427, v20060206, R3_4_2, R3_4_1, v20070110, v20050214a, v20060216, v20070416, v20060210, HEAD
Branch point for: R3_4_maintenance, R3_5_maintenance
Changes since 1.3: +4 -0 lines
empty performance target added
<?xml version="1.0"?>

<project name="testsuite" default="run" basedir=".">
  <!-- sets the properties eclipse-home, and library-file -->
  <!-- The property ${eclipse-home} should be passed into this script -->
  <!-- Set a meaningful default value for when it is not. -->
  <property name="eclipse-home" value="${basedir}\..\.."/>
<property name="plugin-name" value="org.eclipse.ant.tests.core"/>
  <property name="library-file"
            value="${eclipse-home}/plugins/org.eclipse.test/library.xml"/>
 
  <!-- This target holds all initialization code that needs to be done for -->
  <!-- all tests that are to be run. Initialization for individual tests -->
  <!-- should be done within the body of the suite target. -->
  <target name="init">
    <tstamp/>
    <delete>
      <fileset dir="${eclipse-home}" includes="org*.xml"/>
    </delete>
  </target>

  <!-- This target defines the tests that need to be run. -->
  <target name="suite">
    <property name="jdt-folder" 
              value="${eclipse-home}/jdt_folder"/>
    <delete dir="${jdt-folder}" quiet="true"/>
    <ant target="core-test" antfile="${library-file}" dir="${eclipse-home}">
      <property name="data-dir" value="${jdt-folder}"/>
      <property name="plugin-name" value="${plugin-name}"/>
      <property name="classname" 
                value="org.eclipse.ant.tests.core.AutomatedSuite"/>
    </ant>
  </target>

  <!-- This target holds code to cleanup the testing environment after -->
  <!-- after all of the tests have been run. You can use this target to -->
  <!-- delete temporary files that have been created. -->
  <target name="cleanup">
  </target>

  <!-- This target runs the test suite. Any actions that need to happen -->
  <!-- after all the tests have been run should go here. -->
  <target name="run" depends="init,suite,cleanup">
    <ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
      <property name="includes" value="org*.xml"/>
      <property name="output-file" value="${plugin-name}.xml"/>
    </ant>
  </target>

  <!-- This target runs the performance test suites. -->
  <target name="performance">
  </target>	
	
</project>