| <?xml version="1.0"?> |
| <project |
| name="WTP Performance" |
| default="default"> |
| |
| <property |
| name="library-xml-file" |
| value="${perfRoot}/eclipse/plugins/org.eclipse.test_3.2.0/library.xml" /> |
| <import file="${library-xml-file}" /> |
| |
| <target name="ui-test"> |
| <antcall target="ui-test-normal" /> |
| <antcall target="ui-test-perf" /> |
| </target> |
| |
| <target name="core-test"> |
| <antcall target="core-test-normal" /> |
| <antcall target="core-test-perf" /> |
| </target> |
| |
| <target |
| name="ui-test-normal" |
| unless="runAsPerfApp"> |
| <antcall target="run"> |
| <param |
| name="target" |
| value="ui-test" /> |
| </antcall> |
| </target> |
| |
| <target |
| name="core-test-normal" |
| unless="runAsPerfApp"> |
| <antcall target="run"> |
| <param |
| name="target" |
| value="core-test" /> |
| </antcall> |
| </target> |
| |
| <target |
| name="ui-test-perf" |
| if="runAsPerfApp"> |
| <antcall target="run"> |
| <param |
| name="target" |
| value="eclipse-test" /> |
| <param |
| name="application" |
| value="org.eclipse.wst.common.tests.performance.uitestapplication" /> |
| <param |
| name="timeout" |
| value="28800000" /> |
| </antcall> |
| </target> |
| |
| <target |
| name="core-test-perf" |
| if="runAsPerfApp"> |
| <antcall target="run"> |
| <param |
| name="target" |
| value="eclipse-test" /> |
| <param |
| name="application" |
| value="org.eclipse.wst.common.tests.performance.coretestapplication" /> |
| <param |
| name="timeout" |
| value="28800000" /> |
| </antcall> |
| </target> |
| |
| <target name="run"> |
| |
| <property |
| name="eclipse.perf.dbloc" |
| value="-Declipse.perf.dbloc=${build.home}/${perf.dbloc}" /> |
| <property |
| name="eclipse.perf.config" |
| value="-Declipse.perf.config=config=${perf.config};build=${perf.buildId};jvm=${perf.jvm}" /> |
| <property |
| name="eclipse.perf.assertAgainst" |
| value="-Declipse.perf.assertAgainst=config=${perf.ref.config};build=${perf.ref.buildId};jvm=${perf.ref.jvm}" /> |
| <property |
| name="extraVMargs" |
| value="" /> |
| |
| <ant |
| target="${target}" |
| antfile="${library-xml-file}"> |
| <property |
| name="application" |
| value="${application}" /> |
| <property |
| name="data-dir" |
| value="${data-dir}" /> |
| <property |
| name="plugin-name" |
| value="${plugin-name}" /> |
| <property |
| name="classname" |
| value="${classname}" /> |
| <property |
| name="extraVMargs" |
| value="${eclipse.perf.dbloc} ${eclipse.perf.config} ${eclipse.perf.assertAgainst} ${extraVMargs} -Dwtp.autotest.noninteractive=true" /> |
| </ant> |
| |
| </target> |
| |
| <target name="default" /> |
| </project> |