[111676] Port the api scripts to the new build infrastructure
diff --git a/releng.wtpbuilder/distribution/wtp.api/testScripts/api-tests.xml b/releng.wtpbuilder/distribution/wtp.api/testScripts/api-tests.xml
index dde0bee..66544ce 100644
--- a/releng.wtpbuilder/distribution/wtp.api/testScripts/api-tests.xml
+++ b/releng.wtpbuilder/distribution/wtp.api/testScripts/api-tests.xml
@@ -4,14 +4,18 @@
 	<import file="${basedir}/plugins/org.eclipse.test_3.1.0/library.xml"/>
 
 	<target name="ui-test">
+		<property name="extraVMargs" value=""/>
 		<antcall target="runPIAgent">
 			<param name="application" value="org.eclipse.test.uitestapplication"/>
+			<param name="extraVMargs" value="${extraVMargs} -Dwtp.autotest.noninteractive=true"/>
 		</antcall>
 	</target>
 
 	<target name="core-test">
+		<property name="extraVMargs" value=""/>
 		<antcall target="runPIAgent">
 			<param name="application" value="org.eclipse.test.coretestapplication"/>
+			<param name="extraVMargs" value="${extraVMargs} -Dwtp.autotest.noninteractive=true"/>
 		</antcall>
 	</target>