| 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"/> |
| 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 |
|
|
| 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 --> |