org.eclipse.emf/org.eclipse.emf/tests/org.eclipse.emf.test.build/test.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3, Wed Mar 26 03:06:39 2008 UTC revision 1.6, Fri Apr 11 22:48:13 2008 UTC
# Line 13  Line 13 
13    <!-- all tests that are to be run. Initialization for individual tests -->    <!-- all tests that are to be run. Initialization for individual tests -->
14    <!-- should be done within the body of the suite target. -->    <!-- should be done within the body of the suite target. -->
15    <target name="init">    <target name="init">
16                    <property name="classname" value="org.eclipse.emf.test.build.AllSuites" />
17      <tstamp/>      <tstamp/>
18      <delete>      <delete>
19        <fileset dir="${eclipse-home}" includes="org*.xml"/>        <fileset dir="${eclipse-home}" includes="org*.xml"/>
# Line 26  Line 27 
27      <ant target="core-test" antfile="${library-file}" dir="${eclipse-home}">      <ant target="core-test" antfile="${library-file}" dir="${eclipse-home}">
28        <property name="data-dir" value="${emf-folder}"/>        <property name="data-dir" value="${emf-folder}"/>
29        <property name="plugin-name" value="${plugin-name}"/>        <property name="plugin-name" value="${plugin-name}"/>
30        <property name="classname" value="org.eclipse.emf.test.build.AllSuites"/>                          <property name="classname" value="${classname}" />
31      </ant>      </ant>
32    </target>    </target>
33    
# Line 34  Line 35 
35    <!-- after all of the tests have been run. You can use this target to -->    <!-- after all of the tests have been run. You can use this target to -->
36    <!-- delete temporary files that have been created. -->    <!-- delete temporary files that have been created. -->
37    <target name="cleanup">    <target name="cleanup">
38                    <mkdir dir="${results}/consolelogs" />
39                    <copy failonerror="false" file="${eclipse-home}/results/${classname}.txt" tofile="${results}/consolelogs/${classname}_${platform}.metadata.log.txt" />
40    </target>    </target>
41    
42    <!-- This target runs the test suite. Any actions that need to happen -->    <!-- This target runs the test suite. Any actions that need to happen -->

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.6