blob: a025fa658f8816d74a758b526b3a5f5263f6fb78 [file] [log] [blame]
jeffliud0eb4a72005-09-28 14:58:59 +00001<?xml version="1.0"?>
david_williams403beae2007-12-09 02:10:40 +00002<project
3 name="WTP Performance"
4 default="default">
jeffliud0eb4a72005-09-28 14:58:59 +00005
david_williams403beae2007-12-09 02:10:40 +00006 <property
7 name="library-xml-file"
8 value="${perfRoot}/eclipse/plugins/org.eclipse.test_3.2.0/library.xml" />
9 <import file="${library-xml-file}" />
jeffliud0eb4a72005-09-28 14:58:59 +000010
david_williams403beae2007-12-09 02:10:40 +000011 <target name="ui-test">
12 <antcall target="ui-test-normal" />
13 <antcall target="ui-test-perf" />
14 </target>
jeffliud0eb4a72005-09-28 14:58:59 +000015
david_williams403beae2007-12-09 02:10:40 +000016 <target name="core-test">
17 <antcall target="core-test-normal" />
18 <antcall target="core-test-perf" />
19 </target>
jeffliud0eb4a72005-09-28 14:58:59 +000020
david_williams403beae2007-12-09 02:10:40 +000021 <target
22 name="ui-test-normal"
23 unless="runAsPerfApp">
24 <antcall target="run">
25 <param
26 name="target"
27 value="ui-test" />
28 </antcall>
29 </target>
jeffliud0eb4a72005-09-28 14:58:59 +000030
david_williams403beae2007-12-09 02:10:40 +000031 <target
32 name="core-test-normal"
33 unless="runAsPerfApp">
34 <antcall target="run">
35 <param
36 name="target"
37 value="core-test" />
38 </antcall>
39 </target>
jeffliud0eb4a72005-09-28 14:58:59 +000040
david_williams403beae2007-12-09 02:10:40 +000041 <target
42 name="ui-test-perf"
43 if="runAsPerfApp">
44 <antcall target="run">
45 <param
46 name="target"
47 value="eclipse-test" />
48 <param
49 name="application"
50 value="org.eclipse.wst.common.tests.performance.uitestapplication" />
51 <param
52 name="timeout"
53 value="28800000" />
54 </antcall>
55 </target>
jeffliud0eb4a72005-09-28 14:58:59 +000056
david_williams403beae2007-12-09 02:10:40 +000057 <target
58 name="core-test-perf"
59 if="runAsPerfApp">
60 <antcall target="run">
61 <param
62 name="target"
63 value="eclipse-test" />
64 <param
65 name="application"
66 value="org.eclipse.wst.common.tests.performance.coretestapplication" />
67 <param
68 name="timeout"
69 value="28800000" />
70 </antcall>
71 </target>
jeffliud0eb4a72005-09-28 14:58:59 +000072
david_williams403beae2007-12-09 02:10:40 +000073 <target name="run">
jeffliud0eb4a72005-09-28 14:58:59 +000074
david_williams403beae2007-12-09 02:10:40 +000075 <property
76 name="eclipse.perf.dbloc"
77 value="-Declipse.perf.dbloc=${build.home}/${perf.dbloc}" />
78 <property
79 name="eclipse.perf.config"
80 value="-Declipse.perf.config=config=${perf.config};build=${perf.buildId};jvm=${perf.jvm}" />
81 <property
82 name="eclipse.perf.assertAgainst"
83 value="-Declipse.perf.assertAgainst=config=${perf.ref.config};build=${perf.ref.buildId};jvm=${perf.ref.jvm}" />
84 <property
85 name="extraVMargs"
86 value="" />
jeffliud0eb4a72005-09-28 14:58:59 +000087
david_williams403beae2007-12-09 02:10:40 +000088 <ant
89 target="${target}"
90 antfile="${library-xml-file}">
91 <property
92 name="application"
93 value="${application}" />
94 <property
95 name="data-dir"
96 value="${data-dir}" />
97 <property
98 name="plugin-name"
99 value="${plugin-name}" />
100 <property
101 name="classname"
102 value="${classname}" />
103 <property
104 name="extraVMargs"
105 value="${eclipse.perf.dbloc} ${eclipse.perf.config} ${eclipse.perf.assertAgainst} ${extraVMargs} -Dwtp.autotest.noninteractive=true" />
106 </ant>
jeffliud0eb4a72005-09-28 14:58:59 +0000107
david_williams403beae2007-12-09 02:10:40 +0000108 </target>
109
110 <target name="default" />
jeffliud0eb4a72005-09-28 14:58:59 +0000111</project>