Ammend the test.xml to support SWT tests.
SWT needs to know a priori where tests are installed because it's test.xml refers to existing resources that are passed to the browser.
This commit is contained in:
parent
d08e1d71f0
commit
dd8b2ea2de
@ -222,3 +222,36 @@
|
||||
<antcall target="teamcore" />
|
||||
<antcall target="jdtcoreperf" />
|
||||
<antcall target="jdtcorebuilder" />
|
||||
--- TMP/eclipse-junit-tests/src/main/scripts/test.xml.bak 2012-09-06 09:11:00.000000000 +0200
|
||||
+++ TMP/eclipse-junit-tests/src/main/scripts/test.xml 2012-09-06 09:12:14.131863056 +0200
|
||||
@@ -949,9 +949,9 @@
|
||||
<antcall target="uadoc" />
|
||||
<antcall target="debug" />
|
||||
<antcall target="ui" />
|
||||
- <antcall target="relEng" />
|
||||
+ <!--antcall target="relEng" /-->
|
||||
<antcall target="swt" />
|
||||
- <antcall target="teamcvs" />
|
||||
+ <!--antcall target="teamcvs" /-->
|
||||
<antcall target="equinoxds" />
|
||||
<antcall target="equinoxp2discovery" />
|
||||
<antcall target="bidi" />
|
||||
--- TMP/eclipse-junit-tests/src/main/scripts/test.xml.bak 2012-09-06 09:14:04.000000000 +0200
|
||||
+++ TMP/eclipse-junit-tests/src/main/scripts/test.xml 2012-09-06 10:42:12.066027428 +0200
|
||||
@@ -390,6 +390,16 @@
|
||||
<equals arg1="${testPluginX}" arg2="" />
|
||||
</not>
|
||||
</condition>
|
||||
+
|
||||
+ <!-- swt needs this property to run tests -->
|
||||
+ <dirset id="test.plugin.folder" dir="${eclipse-home}/plugins/">
|
||||
+ <include name="${testPlugin}_*" />
|
||||
+ </dirset>
|
||||
+ <property name="testPluginFolder" refid="test.plugin.folder" />
|
||||
+ <echo>trying to find ${testPluginFolder}</echo>
|
||||
+ <condition property="org.eclipse.swt.tests" value="${testPluginFolder}">
|
||||
+ <equals arg1="${testPlugin}" arg2="org.eclipse.swt.tests"/>
|
||||
+ </condition>
|
||||
<antcall target="runSuite" />
|
||||
<antcall target="genResults" />
|
||||
</target>
|
||||
|
Loading…
Reference in New Issue
Block a user