org.eclipse.jdt.debug.tests/test.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (download) (as text) (annotate)
Mon Aug 30 15:56:05 2004 UTC (5 years, 2 months ago) by darin
Branch: MAIN
CVS Tags: v20090831, v20041018, v20050912a, v20040906, v20090911, v20050411, v20050822, v20050418, v20041129, v20041122, v20050321a, v20060329, v20090124, v20091123, v20081117, v20050124, v20051205, v20051209, v20070801, v20091012, v20081201, v20080303, v20080731, v20050221, v20050228, v20060919, v20060915, v20060605, v20090302-2030, v20071126, v20080529-1800, v20081029-1400, v20050314, v20090223-2130, v20080604, v20040830, v20050525, v20050916, v20060828, v20050912, v20060403, v20070116, r322_v20061114, v20061208, v20060215, v20061204, v20090504, R3_3_1_1, v20070202, v20060130, v20070321b, v20070321a, v20080201, v20080206, v20090219, v20041004, perf_31x_20060301, v20050214, v20050213, v20090213-1600, v20071005, v20050815, perf_31x_20060410, v20090413-1530, v20061023, v20061028, R3_4, R3_5, R3_1, R3_2, R3_3, v20050321, v20050323, v20050328, v20090928-1600, v20051214a, v20060313, pre_R3_3, v20060318, v20090306, v20090428, v20050616a, v20080421, v20080425, v20051212, v20090126-0900, v20070122, v20051214, v20051215, v20041220, v20070502, v20071207, v20050622, v20071203, v20070904, v20060619, v20050728, v20050725, v20070423, v20070426, v20070427, v20040927, v20050921, v20050920, v20040922, v20050926, v20040920, v20070516, v20080929, v20080922, v20090519, v20090513, v20050103, v20060123, v20090209, v20050207, v20080509-1630, v20041108, v20041101, v20070416, v20050330, v20050503, v20050502, v20060306, R3_3_1, v20060116, v20060110, v20070529, v20041215, v20041214, v20081006, v20080818, v20060612, v20050502b, v20071210, v20070730, v20081031_r342, v20070226, v20080729_r341, v20070910, v20070914, R3_4_2, R3_4_1, R3_1_1, v20080225, v20070827, v20070820, v20070319a, v20040919, v20051017, v20040913, v20050425, v20061120, R3_2_1, R3_2_2, v20090424-1600, v20090706, v20090119, v20060330, v20060411, v20060412, v20081103, v20090527, v20050117, v20050110, v20070813, v20080318, v20081215, v20050609, v20041025, v20070316, v20070312, v20070709, v20070920, v20051121, v20081027-1600, v20051128, v20080508-1600, v20070409, v20041115, v20060504c, R3_5_1, v20090123-1045, v20080630, v20051028, v20051024, v20050512, perf_31x_20060509, v20040919a, v20060510, v20060518, v20090406, R3_1_2, v20041206, v20070104, v20070102, v20070108, R3_3_2, v20060207, v20060206, v20070219, I20060605-1430, HEAD
Branch point for: R3_1_maintenance, R3_4_maintenance, perf_32x, perf_31x, R3_2_maintenance
Changes since 1.2: +10 -3 lines
performance test update
<?xml version="1.0"?>

<project name="testsuite" default="run" basedir=".">
  <!-- 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}\..\.."/>

  <!-- sets the properties eclipse-home, and library-file -->
  <property name="plugin-name" value="org.eclipse.jdt.debug.tests"/>
  <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 regression 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="ui-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.jdt.debug.tests.AutomatedSuite"/>
    </ant>
  </target>
  
  <!-- This target defines the performance tests that need to be run. -->
  <target name="perfsuite">
    <property name="jdt-folder" 
              value="${eclipse-home}/jdt_folder"/>
    <delete dir="${jdt-folder}" quiet="true"/>
    <ant target="ui-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.jdt.debug.tests.PerformanceSuite"/>
    </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>
  
  <target name="performance" depends="init,perfsuite,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>  

</project>