3 <project name=
"testsuite" default=
"run" basedir=
".">
4 <property name=
"classname" value=
"org.eclipse.linuxtools.tmf.ui.tests" />
5 <property name=
"plugin-name" value=
"org.eclipse.linuxtools.tmf.ui.tests" />
7 <!-- The property ${eclipse-home} should be passed into this script -->
8 <!-- Set a meaningful default value for when it is not. -->
9 <property name=
"eclipse-home" value=
"${basedir}/../../" />
11 <property name=
"library-file" value=
"${eclipse-home}/dropins/${subProjectName2}/plugins/org.eclipse.test/library.xml" />
13 <!-- This target holds all initialization code that needs to be done for -->
14 <!-- all tests that are to be run. Initialization for individual tests -->
15 <!-- should be done within the body of the suite target. -->
19 <fileset dir=
"${eclipse-home}" includes=
"org*.xml" />
23 <!-- This target defines the tests that need to be run. -->
24 <target name=
"tmf_ui_test_suite">
25 <property name=
"tmfui-folder" value=
"${eclipse-home}/tmfui_folder" />
26 <delete dir=
"${tmfui-folder}" quiet=
"true" />
27 <ant target=
"ui-test" antfile=
"${library-file}" dir=
"${eclipse-home}">
28 <property name=
"data-dir" value=
"${tmfui-folder}" />
29 <property name=
"plugin-name" value=
"${plugin-name}" />
30 <property name=
"classname" value=
"${classname}" />
34 <!-- This target holds code to cleanup the testing environment after -->
35 <!-- all of the tests have been run. You can use this target to -->
36 <!-- delete temporary files that have been created. -->
37 <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" />
42 <!-- This target runs the test suite. Any actions that need to happen -->
43 <!-- after all the tests have been run should go here. -->
44 <target name=
"run" depends=
"init,cleanup">
45 <ant target=
"collect" antfile=
"${library-file}" dir=
"${eclipse-home}">
46 <property name=
"includes" value=
"org*.xml" />
47 <property name=
"output-file" value=
"${plugin-name}.xml" />
51 <target name=
"all" depends=
"run" description=
"Dummy target to run all tests">
This page took 0.034888 seconds and 5 git commands to generate.