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"/>