- Fixed a bunch of warnings
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng.ui.tests / test.xml
1 <?xml version="1.0"?>
2
3 <project name="testsuite" default="run" basedir=".">
4 <property name="classname" value="org.eclipse.linuxtools.lttng.ui.tests" />
5 <property name="lttng-ui-test-suite-classname" value="org.eclipse.linuxtools.lttng.ui.tests.TBD" />
6 <property name="plugin-name" value="org.eclipse.linuxtools.lttng.ui.tests" />
7
8 <!-- The property ${eclipse-home} should be passed into this script -->
9 <!-- Set a meaningful default value for when it is not. -->
10 <property name="eclipse-home" value="${basedir}/../../" />
11
12 <property name="library-file" value="${eclipse-home}/dropins/${subProjectName2}/plugins/org.eclipse.test/library.xml" />
13
14 <!-- This target holds all initialization code that needs to be done for -->
15 <!-- all tests that are to be run. Initialization for individual tests -->
16 <!-- should be done within the body of the suite target. -->
17 <target name="init">
18 <tstamp />
19 <delete>
20 <fileset dir="${eclipse-home}" includes="org*.xml" />
21 </delete>
22 </target>
23
24 <!-- This target defines the tests that need to be run. -->
25 <target name="lttng_ui_test_suite">
26 <property name="lttng-folder" value="${eclipse-home}/lttng_folder" />
27 <delete dir="${lttng-folder}" quiet="true" />
28 <ant target="ui-test" antfile="${library-file}" dir="${eclipse-home}">
29 <property name="data-dir" value="${lttng-folder}" />
30 <property name="plugin-name" value="${plugin-name}" />
31 <property name="classname" value="${lttng-ui-test-suite-classname}" />
32 </ant>
33 </target>
34
35 <!-- This target holds code to cleanup the testing environment after -->
36 <!-- all of the tests have been run. You can use this target to -->
37 <!-- delete temporary files that have been created. -->
38 <target name="cleanup">
39 <mkdir dir="${results}/consolelogs" />
40 <copy failonerror="false" file="${eclipse-home}/results/${classname}.txt" tofile="${results}/consolelogs/${classname}_${platform}.metadata.log.txt" />
41 </target>
42
43 <!-- This target runs the test suite. Any actions that need to happen -->
44 <!-- after all the tests have been run should go here. -->
45 <target name="run" depends="init,cleanup">
46 <ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
47 <property name="includes" value="org*.xml" />
48 <property name="output-file" value="${plugin-name}.xml" />
49 </ant>
50 </target>
51
52 <target name="all" depends="run" description="Dummy target to run all tests">
53 </target>
54
55 </project>
This page took 0.030785 seconds and 5 git commands to generate.