Bug 537821 - [otdre] Create test suite for OT/Equinox + OTDRE
diff --git a/releng/build-scripts/build/run.xml b/releng/build-scripts/build/run.xml
index 5d1b9c8..7da4b22 100644
--- a/releng/build-scripts/build/run.xml
+++ b/releng/build-scripts/build/run.xml
@@ -163,6 +163,11 @@
 		<antcall target="runOTDTTests" />
 	</target>
 
+	<target name="ot-junit-run-onlyone" depends="setupProperties,checkOS" description="Run OT tests without building">
+		<echo message="Starting Testrun ${test.root.dir}"/>
+		<antcall target="runOnlyoneTests" />
+	</target>
+
 	<!-- =================== END Public Targets ==================== -->
 
 	<!-- === Setup Targets: === -->
@@ -366,6 +371,21 @@
 		</ant>
 	</target>
 
+	<target name="runOnlyoneTests" description="Delegate to the next level script to perform the actual testing.">
+		<ant antfile="${OTScriptDir}/test.xml" target="onlyone" dir="${build.root.dir}">
+			<property name="os" value="${os}" />
+			<property name="ws" value="${ws}" />
+			<property name="arch" value="${arch}" />
+			<property name="baseos" value="${os}" />
+			<property name="basews" value="${ws}" />
+			<property name="basearch" value="${arch}" />
+			<property name="otdtUpdatesDir" value="${otdtUpdatesDir}" />
+			<property name="testsUpdatesDirBase" value="${testsUpdatesDirBase}" />
+			<property name="test.tmpDir" value="${test.tmpDir}"/>
+			<property name="vmargs" value="${vmargs}" />
+		</ant>
+	</target>
+
 	<!-- currently unused target name="collectResults">
 		<ant target="collect" antfile="${test.root.dir}/library.xml" dir="${otresults}">
 			<property name="includes" value="org.*.xml"/>
diff --git a/releng/build-scripts/build/test.xml b/releng/build-scripts/build/test.xml
index 8af1221..8b7b6a4 100644
--- a/releng/build-scripts/build/test.xml
+++ b/releng/build-scripts/build/test.xml
@@ -128,6 +128,12 @@
 		</antcall>

 	</target>

 

+	<target name="otequinox_tests" description="Runs the OTEquinoxTests test.xml">

+		<antcall target="runtests">

+			<param name="testPlugin" value="OTEquinoxTests_${OTEquinoxTests}" />

+		</antcall>

+	</target>

+

 	<target name="jdt_ui_tests" description="Runs the org.eclipse.jdt.ui.tests test.xml">

 		<property name="library-file"

 		            value="${test.root.dir}/library.xml"/>

@@ -179,6 +185,7 @@
                 <antcall target="otdt_ref_tests" />

                 <antcall target="otdt_dom_tests" />

                 <antcall target="otdt_tests" />

+		        <antcall target="otequinox_tests" />

        			<antcall target="jdt_builder_tests" />

                 <antcall target="jdtcore_compiler_tests" />

                 <antcall target="jdtcore_model_tests" />

@@ -208,7 +215,7 @@
 	</target>

 	

 	<target name="onlyone">

-		<antcall target="otdt_ui_tests" />

+		<antcall target="otequinox_tests" />

 	</target>

 

 </project>