Adjust to changes in org.eclipse.tests as documented in
https://bugs.eclipse.org/bugs/show_bug.cgi?id=406646
"Fix test framework documentation"
diff --git a/releng/build-scripts/build/test.xml b/releng/build-scripts/build/test.xml
index e89f0a2..e7ea7f7 100644
--- a/releng/build-scripts/build/test.xml
+++ b/releng/build-scripts/build/test.xml
@@ -48,6 +48,10 @@
 		<!-- do install using p2: -->

 		<ant antfile="${OTScriptDir}/p2helper.xml" target="installTests" dir="${test.eclipseDir}"/>

 

+		<echo message="get library.xml"/>

+		<get src="http://git.eclipse.org/c/platform/eclipse.platform.releng.aggregator.git/plain/eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/src/main/scripts/library.xml"

+				destination="${test.root.dir}"/>

+

 		<property name="tests.are.setup" value="true"/>

 	</target>

 	

@@ -83,7 +87,7 @@
 	

 	<target name="jdt_builder_tests" description="Runs the org.eclipse.jdt.core.tests.builder test.xml">

 		<property name="library-file"

-		            value="${test.eclipseDir}/plugins/${org.eclipse.test}/library.xml"/>

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

 		<antcall target="runtests">

 			<param name="testPlugin" value="${org.eclipse.jdt.core.tests.builder}" />

 		</antcall>

@@ -110,7 +114,7 @@
 

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

 		<property name="library-file"

-		            value="${test.eclipseDir}/plugins/${org.eclipse.test}/library.xml"/>

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

 		<antcall target="runtests">

 			<param name="testPlugin" value="${org.eclipse.jdt.ui.tests}" />

 		</antcall>

@@ -118,7 +122,7 @@
 	

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

 		<property name="library-file"

-		            value="${test.eclipseDir}/plugins/${org.eclipse.test}/library.xml"/>

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

 		<antcall target="runtests">

 			<param name="testPlugin" value="${org.eclipse.jdt.ui.tests.refactoring}" />

 		</antcall>

@@ -126,7 +130,7 @@
 

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

 		<property name="library-file"

-		            value="${test.eclipseDir}/plugins/${org.eclipse.test}/library.xml"/>

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

 		<antcall target="runtests">

 			<param name="testPlugin" value="${org.eclipse.jdt.debug.tests}" />

 		</antcall>