Thu, 07 Feb 2013 17:17:29 +0530
8007715: Make sure that not all tests run with AllPermission
Reviewed-by: lagergren, attila
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
4 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 This code is free software; you can redistribute it and/or modify it
7 under the terms of the GNU General Public License version 2 only, as
8 published by the Free Software Foundation.
10 This code is distributed in the hope that it will be useful, but WITHOUT
11 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 version 2 for more details (a copy is included in the LICENSE file that
14 accompanied this code).
16 You should have received a copy of the GNU General Public License version
17 2 along with this work; if not, write to the Free Software Foundation,
18 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
21 or visit www.oracle.com if you need additional information or have any
22 questions.
23 -->
24 <project name="nashorn" default="all" basedir="..">
25 <import file="build-nasgen.xml"/>
26 <import file="build-benchmark.xml"/>
28 <target name="init">
29 <loadproperties srcFile="make/project.properties"/>
30 <path id="nashorn.ext.path">
31 <pathelement location="${dist.dir}"/>
32 </path>
33 <property name="ext.class.path" value="-Djava.ext.dirs="${toString:nashorn.ext.path}""/>
34 <condition property="svn.executable" value="/usr/local/bin/svn" else="svn">
35 <available file="/usr/local/bin/svn"/>
36 </condition>
37 <condition property="hg.executable" value="/usr/local/bin/hg" else="hg">
38 <available file="/usr/local/bin/hg"/>
39 </condition>
40 <!-- check if JDK already has ASM classes -->
41 <available property="asm.available" classname="jdk.internal.org.objectweb.asm.Type"/>
42 <!-- check if testng.jar is avaiable -->
43 <available property="testng.available" file="${file.reference.testng.jar}"/>
44 </target>
46 <target name="prepare" depends="init">
47 <mkdir dir="${build.dir}"/>
48 <mkdir dir="${build.classes.dir}"/>
49 <mkdir dir="${build.classes.dir}/META-INF/services"/>
50 <mkdir dir="${build.test.classes.dir}"/>
51 <mkdir dir="${dist.dir}"/>
52 <mkdir dir="${dist.javadoc.dir}"/>
53 </target>
55 <target name="clean" depends="init, clean-nasgen">
56 <delete includeemptydirs="true">
57 <fileset dir="${build.dir}" excludes="${dynalink.dir.name}/**/*" erroronmissingdir="false"/>
58 </delete>
59 <delete dir="${dist.dir}"/>
60 </target>
62 <target name="clean-dynalink">
63 <delete dir="${dynalink.dir}"/>
64 </target>
66 <target name="clean-all" depends="clean-dynalink, clean">
67 <delete dir="${build.dir}"/>
68 </target>
70 <!-- do it only if ASM is not available -->
71 <target name="compile-asm" depends="prepare" unless="asm.available">
72 <javac srcdir="${jdk.asm.src.dir}"
73 destdir="${build.classes.dir}"
74 excludes="**/optimizer/* **/xml/* **/attrs/*"
75 source="${javac.source}"
76 target="${javac.target}"
77 debug="${javac.debug}"
78 encoding="${javac.encoding}"
79 includeantruntime="false"/>
80 </target>
82 <target name="check-dynalink-uptodate" depends="init">
83 <property name="versioned.dynalink.jar" value="${dynalink.dir}/dynalink-${dynalink.jar.version}.jar"/>
84 <condition property="dynalink.uptodate">
85 <and>
86 <available file="${versioned.dynalink.jar}"/>
87 <filesmatch file1="${versioned.dynalink.jar}" file2="${dynalink.jar}"/>
88 </and>
89 </condition>
90 </target>
92 <target name="get-dynalink" depends="check-dynalink-uptodate" unless="dynalink.uptodate">
93 <mkdir dir="${dynalink.dir}"/>
94 <!-- Delete previous snapshots, if any -->
95 <delete>
96 <fileset dir="${dynalink.dir}" includes="*"/>
97 </delete>
98 <property name="dynalink.download.base.url" value="http://oss.sonatype.org/content/repositories/${dynalink.version.type}s/org/dynalang/dynalink/${dynalink.version}/dynalink-${dynalink.jar.version}"/>
99 <get src="${dynalink.download.base.url}.jar" dest="${versioned.dynalink.jar}" usetimestamp="true"/>
100 <get src="${dynalink.download.base.url}-sources.jar" dest="${dynalink.dir}/dynalink-sources.jar" usetimestamp="true"/>
101 <copy file="${versioned.dynalink.jar}" tofile="${dynalink.jar}" overwrite="true"/>
102 </target>
104 <target name="compile" depends="compile-asm, get-dynalink" description="Compiles nashorn">
105 <javac srcdir="${src.dir}"
106 destdir="${build.classes.dir}"
107 classpath="${javac.classpath}"
108 source="${javac.source}"
109 target="${javac.target}"
110 debug="${javac.debug}"
111 encoding="${javac.encoding}"
112 includeantruntime="false">
113 <compilerarg value="-Xlint:unchecked"/>
114 <compilerarg value="-Xlint:deprecation"/>
115 <compilerarg value="-XDignore.symbol.file"/>
116 </javac>
117 <copy todir="${build.classes.dir}/META-INF/services">
118 <fileset dir="${meta.inf.dir}/services/"/>
119 </copy>
120 <copy todir="${build.classes.dir}/jdk/nashorn/api/scripting/resources">
121 <fileset dir="${src.dir}/jdk/nashorn/api/scripting/resources/"/>
122 </copy>
123 <copy todir="${build.classes.dir}/jdk/nashorn/internal/runtime/resources">
124 <fileset dir="${src.dir}/jdk/nashorn/internal/runtime/resources/"/>
125 </copy>
126 <copy todir="${build.classes.dir}/jdk/nashorn/tools/resources">
127 <fileset dir="${src.dir}/jdk/nashorn/tools/resources/"/>
128 </copy>
129 <echo message="full=${nashorn.fullversion}" file="${build.classes.dir}/jdk/nashorn/internal/runtime/resources/version.properties"/>
130 <echo file="${build.classes.dir}/jdk/nashorn/internal/runtime/resources/version.properties" append="true">${line.separator}</echo>
131 <echo message="release=${nashorn.version}" file="${build.classes.dir}/jdk/nashorn/internal/runtime/resources/version.properties" append="true"/>
132 </target>
134 <target name="jar" depends="compile, run-nasgen" description="Creates nashorn.jar">
135 <jar jarfile="${dist.jar}" manifest="${meta.inf.dir}/MANIFEST.MF" index="true" filesetmanifest="merge">
136 <fileset dir="${build.classes.dir}"/>
137 <zipfileset src="${dynalink.jar}"/>
138 <manifest>
139 <attribute name="Archiver-Version" value="n/a"/>
140 <attribute name="Build-Jdk" value="${java.runtime.version}"/>
141 <attribute name="Built-By" value="n/a"/>
142 <attribute name="Created-By" value="Ant jar task"/>
143 <section name="jdk/nashorn/">
144 <attribute name="Implementation-Title" value="${nashorn.product.name}"/>
145 <attribute name="Implementation-Version" value="${nashorn.version}"/>
146 </section>
147 </manifest>
148 </jar>
149 </target>
151 <target name="javadoc" depends="prepare">
152 <javadoc destdir="${dist.javadoc.dir}" use="yes" overview="src/overview.html" windowtitle="${nashorn.product.name} ${nashorn.version}" additionalparam="-quiet" failonerror="true">
153 <classpath>
154 <pathelement location="${build.classes.dir}"/>
155 <pathelement location="${dynalink.jar}"/>
156 </classpath>
157 <fileset dir="${src.dir}" includes="**/*.java"/>
158 <fileset dir="${jdk.asm.src.dir}" includes="**/*.java"/>
159 <link href="http://docs.oracle.com/javase/7/docs/api/"/>
160 <link href="http://szegedi.github.com/dynalink/0.4/javadoc/"/>
161 <!-- The following tags are used only in ASM sources - just ignore these -->
162 <tag name="label" description="label tag in ASM sources" enabled="false"/>
163 <tag name="linked" description="linked tag in ASM sources" enabled="false"/>
164 <tag name="associates" description="associates tag in ASM sources" enabled="false"/>
165 </javadoc>
166 </target>
168 <!-- generate shell.html for shell tool documentation -->
169 <target name="shelldoc" depends="jar">
170 <java classname="${nashorn.shell.tool}" dir="${basedir}" output="${dist.dir}/shell.html" failonerror="true" fork="true">
171 <jvmarg line="${ext.class.path}"/>
172 <arg value="-scripting"/>
173 <arg value="docs/genshelldoc.js"/>
174 </java>
175 </target>
177 <!-- generate all docs -->
178 <target name="docs" depends="javadoc, shelldoc"/>
180 <!-- create .zip and .tar.gz for nashorn binaries and scripts. -->
181 <target name="dist" depends="jar">
182 <zip destfile="${build.zip}" basedir=".."
183 excludes="nashorn/bin/*.sh" includes="nashorn/bin/** nashorn/dist/**"/>
184 <tar destfile="${build.gzip}" basedir=".." compression="gzip"
185 excludes="nashorn/bin/*.sh" includes="nashorn/bin/** nashorn/dist/**"/>
186 </target>
188 <target name="compile-test" depends="compile, run-nasgen" if="testng.available">
189 <!-- testng task -->
190 <taskdef name="testng" classname="org.testng.TestNGAntTask"
191 classpath="${file.reference.testng.jar}"/>
193 <javac srcdir="${test.src.dir}"
194 destdir="${build.test.classes.dir}"
195 classpath="${javac.test.classpath}"
196 source="${javac.source}"
197 target="${javac.target}"
198 debug="${javac.debug}"
199 encoding="${javac.encoding}"
200 includeantruntime="false"/>
202 <!-- tests that check nashorn internals and internal API -->
203 <jar jarfile="${nashorn.internal.tests.jar}">
204 <fileset dir="${build.test.classes.dir}" excludes="**/api/scripting/*"/>
205 </jar>
207 <!-- tests that check nashorn script engine (jsr-223) API -->
208 <jar jarfile="${nashorn.api.tests.jar}">
209 <fileset dir="${build.test.classes.dir}" includes="**/api/scripting/*"/>
210 </jar>
212 </target>
214 <target name="generate-policy-file">
215 <!-- Generating nashorn.policy file -->
217 <!-- nashorn internal tests jar requires AllPermission -->
218 <echo message="grant codeBase "file:/${basedir}/${nashorn.internal.tests.jar}" {" file="${build.dir}/nashorn.policy"/>
219 <echo message="" file="${build.dir}/nashorn.policy" append="true"/>
220 <echo message=" permission java.security.AllPermission;" file="${build.dir}/nashorn.policy" append="true"/>
221 <echo message="" file="${build.dir}/nashorn.policy" append="true"/>
222 <echo message="};" file="${build.dir}/nashorn.policy" append="true"/>
223 <echo message="" file="${build.dir}/nashorn.policy" append="true"/>
225 <!-- TestNG framework jar needs AllPermission -->
226 <echo message="grant codeBase "file:/${basedir}/${file.reference.testng.jar}" {" file="${build.dir}/nashorn.policy" append="true"/>
227 <echo message="" file="${build.dir}/nashorn.policy" append="true"/>
228 <echo message=" permission java.security.AllPermission;" file="${build.dir}/nashorn.policy" append="true"/>
229 <echo message="" file="${build.dir}/nashorn.policy" append="true"/>
230 <echo message="};" file="${build.dir}/nashorn.policy" append="true"/>
231 <echo message="" file="${build.dir}/nashorn.policy" append="true"/>
233 <!-- AllPermission to test/script/trusted tests -->
234 <echo message="grant codeBase "file:/${basedir}/test/script/trusted/*" {" file="${build.dir}/nashorn.policy" append="true"/>
235 <echo message="" file="${build.dir}/nashorn.policy" append="true"/>
236 <echo message=" permission java.security.AllPermission;" file="${build.dir}/nashorn.policy" append="true"/>
237 <echo message="" file="${build.dir}/nashorn.policy" append="true"/>
238 <echo message="};" file="${build.dir}/nashorn.policy" append="true"/>
239 <echo message="" file="${build.dir}/nashorn.policy" append="true"/>
241 <echo message="grant codeBase "file:/${basedir}/test/script/basic/*" {" file="${build.dir}/nashorn.policy" append="true"/>
242 <echo message="" file="${build.dir}/nashorn.policy" append="true"/>
243 <!-- test/script/basic .js scripts load other script tests -->
244 <echo message=" permission java.io.FilePermission "${basedir}/test/script/-", "read";" file="${build.dir}/nashorn.policy" append="true"/>
245 <echo message="" file="${build.dir}/nashorn.policy" append="true"/>
246 <!-- test/script/basic .js scripts can read nashorn.test.* properties -->
247 <echo message=" permission java.util.PropertyPermission "nashorn.test.*", "read";" file="${build.dir}/nashorn.policy" append="true"/>
248 <echo message="" file="${build.dir}/nashorn.policy" append="true"/>
249 <echo message="};" file="${build.dir}/nashorn.policy" append="true"/>
250 <echo message="" file="${build.dir}/nashorn.policy" append="true"/>
252 <replace file="${build.dir}/nashorn.policy"><replacetoken>\</replacetoken><replacevalue>/</replacevalue></replace> <!--hack for Windows - to make URLs with normal path separators -->
253 <replace file="${build.dir}/nashorn.policy"><replacetoken>//</replacetoken><replacevalue>/</replacevalue></replace> <!--hack for Unix - to avoid leading // in URLs -->
255 </target>
257 <target name="check-external-tests">
258 <available file="${test.external.dir}/prototype" property="test-sys-prop.external.prototype"/>
259 <available file="${test.external.dir}/sunspider" property="test-sys-prop.external.sunspider"/>
260 <available file="${test.external.dir}/underscore" property="test-sys-prop.external.underscore"/>
261 <available file="${test.external.dir}/octane" property="test-sys-prop.external.octane"/>
262 <available file="${test.external.dir}/yui" property="test-sys-prop.external.yui"/>
263 <available file="${test.external.dir}/jquery" property="test-sys-prop.external.jquery"/>
264 <available file="${test.external.dir}/test262" property="test-sys-prop.external.test262"/>
265 </target>
267 <target name="check-testng" unless="testng.available">
268 <echo message="WARNING: TestNG not available, will not run tests. Please copy testng.jar under test/lib directory."/>
269 </target>
271 <target name="test" depends="jar, check-testng, check-external-tests, compile-test, generate-policy-file" if="testng.available">
272 <java classname="${nashorn.shell.tool}" fork="true" dir="${test.script.dir}/representations" output="${build.dir}/output1.log" error="${build.dir}/err.log">
273 <jvmarg line="${ext.class.path}"/>
274 <jvmarg line="-Dnashorn.fields.dual=true"/>
275 <arg value="NASHORN-592a.js"/>
276 </java>
277 <java classname="${nashorn.shell.tool}" fork="true" dir="${test.script.dir}/representations" output="${build.dir}/output2.log" error="${build.dir}/err.log">
278 <jvmarg line="${ext.class.path}"/>
279 <arg value="NASHORN-592a.js"/>
280 </java>
281 <condition property="representation-ok">
282 <filesmatch file1="${build.dir}/output1.log" file2="${build.dir}/output2.log"/>
283 </condition>
284 <fail unless="representation-ok">Representation test failed - output differs!</fail>
285 <fileset id="test.classes" dir="${build.test.classes.dir}">
286 <include name="**/access/*Test.class"/>
287 <include name="**/api/scripting/*Test.class"/>
288 <include name="**/codegen/*Test.class"/>
289 <include name="**/parser/*Test.class"/>
290 <include name="**/runtime/*Test.class"/>
291 <include name="**/framework/*Test.class"/>
292 </fileset>
294 <testng outputdir="${build.test.results.dir}" classfilesetref="test.classes"
295 verbose="${testng.verbose}" haltonfailure="true" useDefaultListeners="false" listeners="${testng.listeners}" workingDir="${basedir}">
296 <jvmarg line="${ext.class.path}"/>
297 <jvmarg line="${run.test.jvmargs} ${run.test.jvmsecurityargs}"/>
298 <propertyset>
299 <propertyref prefix="test-sys-prop."/>
300 <mapper from="test-sys-prop.*" to="*" type="glob"/>
301 </propertyset>
302 <classpath>
303 <pathelement path="${run.test.classpath}"/>
304 </classpath>
305 </testng>
306 </target>
308 <target name="test-basicparallel" depends="jar, check-testng, check-external-tests, compile-test, generate-policy-file">
309 <!-- use just build.test.classes.dir to avoid referring to TestNG -->
310 <java classname="${parallel.test.runner}" dir="${basedir}" classpath="${build.test.classes.dir}" failonerror="true" fork="true">
311 <jvmarg line="${ext.class.path}"/>
312 <jvmarg line="${run.test.jvmargs} ${run.test.jvmsecurityargs}"/>
313 <syspropertyset>
314 <propertyref prefix="test-sys-prop."/>
315 <mapper type="glob" from="test-sys-prop.*" to="*"/>
316 </syspropertyset>
317 </java>
318 </target>
320 <target name="test262" depends="jar, check-testng, check-external-tests, compile-test" if="testng.available">
321 <fileset id="test.classes" dir="${build.test.classes.dir}">
322 <include name="**/framework/*Test.class"/>
323 </fileset>
325 <testng outputdir="${build.test.results.dir}" classfilesetref="test.classes"
326 verbose="${testng.verbose}" haltonfailure="true" useDefaultListeners="false" listeners="${testng.listeners}" workingDir="${basedir}">
327 <jvmarg line="${ext.class.path}"/>
328 <jvmarg line="${run.test.jvmargs}"/>
329 <propertyset>
330 <propertyref prefix="test262-test-sys-prop."/>
331 <mapper from="test262-test-sys-prop.*" to="*" type="glob"/>
332 </propertyset>
333 <classpath>
334 <pathelement path="${run.test.classpath}"/>
335 </classpath>
336 </testng>
337 </target>
339 <target name="test262parallel" depends="test262-parallel"/>
341 <target name="test262-parallel" depends="jar, check-testng, check-external-tests, compile-test" if="testng.available">
342 <!-- use just build.test.classes.dir to avoid referring to TestNG -->
343 <java classname="${parallel.test.runner}" dir="${basedir}" classpath="${build.test.classes.dir}" fork="true">
344 <jvmarg line="${ext.class.path}"/>
345 <jvmarg line="${run.test.jvmargs}"/>
346 <syspropertyset>
347 <propertyref prefix="test262-test-sys-prop."/>
348 <mapper type="glob" from="test262-test-sys-prop.*" to="*"/>
349 </syspropertyset>
350 </java>
351 </target>
353 <target name="all" depends="test, docs"
354 description="Build, test and generate docs for nashorn"/>
356 <target name="run" depends="jar"
357 description="Run the shell with a sample script">
358 <java classname="${nashorn.shell.tool}" fork="true" dir="samples">
359 <jvmarg line="${ext.class.path}"/>
360 <jvmarg line="${run.test.jvmargs}"/>
361 <arg value="-dump-on-error"/>
362 <arg value="test.js"/>
363 </java>
364 </target>
366 <target name="debug" depends="jar"
367 description="Debug the shell with a sample script">
368 <java classname="${nashorn.shell.tool}" fork="true" dir="samples">
369 <jvmarg line="${ext.class.path}"/>
370 <jvmarg line="${run.test.jvmargs}"/>
371 <arg value="--print-code"/>
372 <arg value="--verify-code"/>
373 <arg value="--print-symbols"/>
374 <jvmarg value="-Dnashorn.codegen.debug=true"/>
375 <arg value="test.js"/>
376 </java>
377 </target>
379 <!-- targets to get external script tests -->
381 <!-- test262 test suite -->
382 <target name="get-test262" depends="init" unless="${test-sys-prop.external.test262}">
383 <!-- clone test262 mercurial repo -->
384 <exec executable="${hg.executable}">
385 <arg value="clone"/>
386 <arg value="http://hg.ecmascript.org/tests/test262"/>
387 <arg value="${test.external.dir}/test262"/>
388 </exec>
389 </target>
390 <target name="update-test262" depends="init" if="${test-sys-prop.external.test262}">
391 <!-- update test262 mercurial repo -->
392 <exec executable="${hg.executable}" dir="${test.external.dir}/test262">
393 <arg value="pull"/>
394 <arg value="-u"/>
395 </exec>
396 </target>
398 <!-- octane benchmark -->
399 <target name="get-octane" depends="init" unless="${test-sys-prop.external.octane}">
400 <!-- checkout octane benchmarks -->
401 <exec executable="${svn.executable}">
402 <arg value="--non-interactive"/>
403 <arg value="--trust-server-cert"/>
404 <arg value="checkout"/>
405 <arg value="http://octane-benchmark.googlecode.com/svn/trunk/"/>
406 <arg value="${test.external.dir}/octane"/>
407 </exec>
408 </target>
409 <target name="update-octane" depends="init" if="${test-sys-prop.external.octane}">
410 <!-- update octane benchmarks -->
411 <exec executable="${svn.executable}" dir="${test.external.dir}/octane">
412 <arg value="--non-interactive"/>
413 <arg value="--trust-server-cert"/>
414 <arg value="update"/>
415 </exec>
416 </target>
418 <!-- sunspider benchmark -->
419 <target name="get-sunspider" depends="init" unless="${test-sys-prop.external.sunspider}">
420 <!-- checkout sunspider -->
421 <exec executable="${svn.executable}">
422 <arg value="--non-interactive"/>
423 <arg value="--trust-server-cert"/>
424 <arg value="checkout"/>
425 <arg value="http://svn.webkit.org/repository/webkit/trunk/PerformanceTests/SunSpider"/>
426 <arg value="${test.external.dir}/sunspider"/>
427 </exec>
428 </target>
429 <target name="update-sunspider" depends="init" if="${test-sys-prop.external.sunspider}">
430 <!-- update sunspider -->
431 <exec executable="${svn.executable}" dir="${test.external.dir}/sunspider">
432 <arg value="--non-interactive"/>
433 <arg value="--trust-server-cert"/>
434 <arg value="update"/>
435 </exec>
436 </target>
438 <!-- get all external test scripts -->
439 <target name="externals" depends="init, check-external-tests, get-test262, get-octane, get-sunspider">
440 <!-- make external test dir -->
441 <mkdir dir="${test.external.dir}"/>
443 <!-- jquery -->
444 <mkdir dir="${test.external.dir}/jquery"/>
445 <get src="http://code.jquery.com/jquery-1.7.2.js" dest="${test.external.dir}/jquery" skipexisting="true" ignoreerrors="true"/>
446 <get src="http://code.jquery.com/jquery-1.7.2.min.js" dest="${test.external.dir}/jquery" skipexisting="true" ignoreerrors="true"/>
448 <!-- prototype -->
449 <mkdir dir="${test.external.dir}/prototype"/>
450 <get src="http://ajax.googleapis.com/ajax/libs/prototype/1.7.0/prototype.js" dest="${test.external.dir}/prototype" usetimestamp="true" skipexisting="true" ignoreerrors="true"/>
452 <!-- underscorejs -->
453 <mkdir dir="${test.external.dir}/underscore"/>
454 <get src="http://underscorejs.org/underscore.js" dest="${test.external.dir}/underscore" skipexisting="true" ignoreerrors="true"/>
455 <get src="http://underscorejs.org/underscore-min.js" dest="${test.external.dir}/underscore" skipexisting="true" ignoreerrors="true"/>
457 <!-- yui -->
458 <mkdir dir="${test.external.dir}/yui"/>
459 <get src="http://yui.yahooapis.com/3.5.1/build/yui/yui.js" dest="${test.external.dir}/yui" skipexisting="true" ignoreerrors="true"/>
460 <get src="http://yui.yahooapis.com/3.5.1/build/yui/yui-min.js" dest="${test.external.dir}/yui" skipexisting="true" ignoreerrors="true"/>
462 </target>
464 <!-- update external test suites that are pulled from source control systems -->
465 <target name="update-externals" depends="init, check-external-tests, update-test262, update-octane, update-sunspider"/>
467 <!-- run all perf tests -->
468 <target name="perf" depends="externals, update-externals, sunspider, octane"/>
470 <!-- run all tests -->
471 <target name="exit-if-no-testng" depends="init, check-testng" unless="${testng.available}">
472 <fail message="Exiting.."/>
473 </target>
475 <target name="alltests" depends="exit-if-no-testng, externals, update-externals, test, test262parallel, perf"/>
477 </project>