Releng: explicit OTDRE args for tests, they don't pick up eclipse.ini
diff --git a/releng/build-scripts/build/test.xml b/releng/build-scripts/build/test.xml
index 7e3e8de..d3d9c5b 100644
--- a/releng/build-scripts/build/test.xml
+++ b/releng/build-scripts/build/test.xml
@@ -17,6 +17,8 @@
 	<!--properties file containing the build information-->

 	<property file="src/label.properties" />

 	<property file="src/finalPluginsVersions.properties" />

+	<property name="otequinox.agent.jar" value="${test.root.dir}/../otequinoxAgent.jar"/>

+

 

 	<target name="readFlags">

 		<condition property="really.build.all">

@@ -65,7 +67,7 @@
 		<ant antfile="plugins/${testPlugin}/test.xml" dir="${test.eclipseDir}">

 			<property name="eclipse-home" value="${test.eclipseDir}" />

 			<property name="library-file" value="${test.root.dir}/library.xml"/>

-            <property name="extraVMargs" value="-XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=${test.tmpDir}"/>

+            <property name="extraVMargs" value="-XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=${test.tmpDir} -Dot.weaving=otdre -javaagent:${otequinox.agent.jar}"/>

 		</ant>

 	</target>