Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJerome lanneluc2004-09-01 09:27:10 +0000
committerJerome lanneluc2004-09-01 09:27:10 +0000
commit671daba135451cb4a52ef618181f9bb70e977d0a (patch)
tree3e339178267a2e80f8c4ada646c7c5753991933b /org.eclipse.jdt.core.tests.model/test.xml
parent5cf485bd61f4835a2e8ccc713ba630687bb22c70 (diff)
downloadeclipse.jdt.core-671daba135451cb4a52ef618181f9bb70e977d0a.tar.gz
eclipse.jdt.core-671daba135451cb4a52ef618181f9bb70e977d0a.tar.xz
eclipse.jdt.core-671daba135451cb4a52ef618181f9bb70e977d0a.zip
First performance tests
Diffstat (limited to 'org.eclipse.jdt.core.tests.model/test.xml')
-rw-r--r--org.eclipse.jdt.core.tests.model/test.xml20
1 files changed, 18 insertions, 2 deletions
diff --git a/org.eclipse.jdt.core.tests.model/test.xml b/org.eclipse.jdt.core.tests.model/test.xml
index 81f4fa8160..8d6fdf3ab2 100644
--- a/org.eclipse.jdt.core.tests.model/test.xml
+++ b/org.eclipse.jdt.core.tests.model/test.xml
@@ -71,9 +71,25 @@
</ant>
</target>
+ <!-- This target defines the performance tests that need to be run. -->
+ <target name="performance-suite">
+ <!-- Java Model tests -->
+ <property name="jdt-model-performance-folder" value="${eclipse-home}/jdt-model-performance-folder"/>
+ <delete dir="${jdt-model-performance-folder}" quiet="true"/>
+ <ant target="core-test" antfile="${library-file}" dir="${eclipse-home}">
+ <property name="data-dir" value="${jdt-model-performance-folder}"/>
+ <property name="plugin-name" value="${plugin-name}"/>
+ <property name="classname" value="<org.eclipse.jdt.core.tests.model.AllPerformanceTests>"/>
+ </ant>
+ </target>
- <!-- This target runs the performance test suites. -->
- <target name="performance">
+ <!-- This target runs the performance test suite. Any actions that need to happen -->
+ <!-- after all the tests have been run should go here. -->
+ <target name="performance" depends="init,performance-suite,cleanup">
+ <ant target="collect" antfile="${library-file}" dir="${eclipse-home}">
+ <property name="includes" value="org*.xml"/>
+ <property name="output-file" value="${plugin-name}.xml"/>
+ </ant>
</target>
</project>

Back to the top