equal
deleted
inserted
replaced
302 }; |
302 }; |
303 |
303 |
304 grant codeBase "file:/${basedir}/${file.reference.testng.jar}" { |
304 grant codeBase "file:/${basedir}/${file.reference.testng.jar}" { |
305 permission java.security.AllPermission; |
305 permission java.security.AllPermission; |
306 }; |
306 }; |
|
307 //// in case of absolute path: |
|
308 grant codeBase "file:/${nashorn.internal.tests.jar}" { |
|
309 permission java.security.AllPermission; |
|
310 }; |
|
311 |
|
312 grant codeBase "file:/${file.reference.testng.jar}" { |
|
313 permission java.security.AllPermission; |
|
314 }; |
307 |
315 |
308 grant codeBase "file:/${basedir}/test/script/trusted/*" { |
316 grant codeBase "file:/${basedir}/test/script/trusted/*" { |
309 permission java.security.AllPermission; |
317 permission java.security.AllPermission; |
310 }; |
318 }; |
311 |
319 |
389 <include name="**/framework/ScriptTest.class"/> |
397 <include name="**/framework/ScriptTest.class"/> |
390 </fileset> |
398 </fileset> |
391 <testng outputdir="${build.nosecurity.test.results.dir}" classfilesetref="test.nosecurity.classes" |
399 <testng outputdir="${build.nosecurity.test.results.dir}" classfilesetref="test.nosecurity.classes" |
392 verbose="${testng.verbose}" haltonfailure="true" useDefaultListeners="false" listeners="${testng.listeners}" workingDir="${basedir}"> |
400 verbose="${testng.verbose}" haltonfailure="true" useDefaultListeners="false" listeners="${testng.listeners}" workingDir="${basedir}"> |
393 <jvmarg line="${ext.class.path}"/> |
401 <jvmarg line="${ext.class.path}"/> |
394 <jvmarg line="${run.test.jvmargs} -Xmx${run.test.xmx}"/> |
402 <jvmarg line="${run.test.jvmargs} -Xmx${run.test.xmx} -Dbuild.dir=${build.dir}"/> |
395 <sysproperty key="nashorn.jar" value="${dist.dir}/nashorn.jar"/> |
403 <sysproperty key="nashorn.jar" value="${dist.dir}/nashorn.jar"/> |
396 <propertyset> |
404 <propertyset> |
397 <propertyref prefix="nashorn."/> |
405 <propertyref prefix="nashorn."/> |
398 </propertyset> |
406 </propertyset> |
399 <propertyset> |
407 <propertyset> |
411 <delete dir="${build.dir}/nashorn_code_cache"/> |
419 <delete dir="${build.dir}/nashorn_code_cache"/> |
412 <property name="debug.test.jvmargs" value=""/> |
420 <property name="debug.test.jvmargs" value=""/> |
413 <testng outputdir="${build.test.results.dir}" classfilesetref="test.classes" |
421 <testng outputdir="${build.test.results.dir}" classfilesetref="test.classes" |
414 verbose="${testng.verbose}" haltonfailure="true" useDefaultListeners="false" listeners="${testng.listeners}" workingDir="${basedir}"> |
422 verbose="${testng.verbose}" haltonfailure="true" useDefaultListeners="false" listeners="${testng.listeners}" workingDir="${basedir}"> |
415 <jvmarg line="${ext.class.path}"/> |
423 <jvmarg line="${ext.class.path}"/> |
416 <jvmarg line="${run.test.jvmargs} -Xmx${run.test.xmx} ${run.test.jvmsecurityargs}"/> |
424 <jvmarg line="${run.test.jvmargs} -Xmx${run.test.xmx} ${run.test.jvmsecurityargs} -Dbuild.dir=${build.dir}"/> |
417 <jvmarg line="${debug.test.jvmargs}"/> |
425 <jvmarg line="${debug.test.jvmargs}"/> |
418 <propertyset> |
426 <propertyset> |
419 <propertyref prefix="nashorn."/> |
427 <propertyref prefix="nashorn."/> |
420 </propertyset> |
428 </propertyset> |
421 <propertyset> |
429 <propertyset> |
449 </condition> |
457 </condition> |
450 |
458 |
451 <testng outputdir="${build.test.results.dir}" classfilesetref="test.classes" |
459 <testng outputdir="${build.test.results.dir}" classfilesetref="test.classes" |
452 verbose="${testng.verbose}" haltonfailure="true" useDefaultListeners="false" listeners="${testng.listeners}" workingDir="${basedir}"> |
460 verbose="${testng.verbose}" haltonfailure="true" useDefaultListeners="false" listeners="${testng.listeners}" workingDir="${basedir}"> |
453 <jvmarg line="${ext.class.path}"/> |
461 <jvmarg line="${ext.class.path}"/> |
454 <jvmarg line="${run.test.jvmargs} -Xmx${run.test.xmx}"/> |
462 <jvmarg line="${run.test.jvmargs} -Xmx${run.test.xmx} -Dbuild.dir=${build.dir}"/> |
455 <propertyset> |
463 <propertyset> |
456 <propertyref prefix="testjfx-test-sys-prop."/> |
464 <propertyref prefix="testjfx-test-sys-prop."/> |
457 <mapper from="testjfx-test-sys-prop.*" to="*" type="glob"/> |
465 <mapper from="testjfx-test-sys-prop.*" to="*" type="glob"/> |
458 </propertyset> |
466 </propertyset> |
459 <sysproperty key="test.fork.jvm.options" value="${testjfx-test-sys-prop.test.fork.jvm.options} ${jfx.prism.order}"/> |
467 <sysproperty key="test.fork.jvm.options" value="${testjfx-test-sys-prop.test.fork.jvm.options} ${jfx.prism.order}"/> |
469 </fileset> |
477 </fileset> |
470 |
478 |
471 <testng outputdir="${build.test.results.dir}" classfilesetref="test.classes" |
479 <testng outputdir="${build.test.results.dir}" classfilesetref="test.classes" |
472 verbose="${testng.verbose}" haltonfailure="true" useDefaultListeners="false" listeners="${testng.listeners}" workingDir="${basedir}"> |
480 verbose="${testng.verbose}" haltonfailure="true" useDefaultListeners="false" listeners="${testng.listeners}" workingDir="${basedir}"> |
473 <jvmarg line="${ext.class.path}"/> |
481 <jvmarg line="${ext.class.path}"/> |
474 <jvmarg line="${run.test.jvmargs} -Xmx${run.test.xmx} ${run.test.jvmsecurityargs}"/> |
482 <jvmarg line="${run.test.jvmargs} -Xmx${run.test.xmx} ${run.test.jvmsecurityargs} -Dbuild.dir=${build.dir}"/> |
475 <propertyset> |
483 <propertyset> |
476 <propertyref prefix="testmarkdown-test-sys-prop."/> |
484 <propertyref prefix="testmarkdown-test-sys-prop."/> |
477 <mapper from="testmarkdown-test-sys-prop.*" to="*" type="glob"/> |
485 <mapper from="testmarkdown-test-sys-prop.*" to="*" type="glob"/> |
478 </propertyset> |
486 </propertyset> |
479 <classpath> |
487 <classpath> |
488 </fileset> |
496 </fileset> |
489 |
497 |
490 <testng outputdir="${build.test.results.dir}" classfilesetref="test.classes" |
498 <testng outputdir="${build.test.results.dir}" classfilesetref="test.classes" |
491 verbose="${testng.verbose}" haltonfailure="true" useDefaultListeners="false" listeners="${testng.listeners}" workingDir="${basedir}"> |
499 verbose="${testng.verbose}" haltonfailure="true" useDefaultListeners="false" listeners="${testng.listeners}" workingDir="${basedir}"> |
492 <jvmarg line="${ext.class.path}"/> |
500 <jvmarg line="${ext.class.path}"/> |
493 <jvmarg line="${run.test.jvmargs} -Xmx${run.test.xmx} ${run.test.jvmsecurityargs}"/> |
501 <jvmarg line="${run.test.jvmargs} -Xmx${run.test.xmx} ${run.test.jvmsecurityargs} -Dbuild.dir=${build.dir}"/> |
494 <propertyset> |
502 <propertyset> |
495 <propertyref prefix="nashorn."/> |
503 <propertyref prefix="nashorn."/> |
496 </propertyset> |
504 </propertyset> |
497 <propertyset> |
505 <propertyset> |
498 <propertyref prefix="test262-test-sys-prop."/> |
506 <propertyref prefix="test262-test-sys-prop."/> |
508 |
516 |
509 <target name="test262-parallel" depends="jar, check-testng, check-external-tests, compile-test, generate-policy-file" if="testng.available"> |
517 <target name="test262-parallel" depends="jar, check-testng, check-external-tests, compile-test, generate-policy-file" if="testng.available"> |
510 <!-- use just build.test.classes.dir to avoid referring to TestNG --> |
518 <!-- use just build.test.classes.dir to avoid referring to TestNG --> |
511 <java classname="${parallel.test.runner}" dir="${basedir}" fork="true"> |
519 <java classname="${parallel.test.runner}" dir="${basedir}" fork="true"> |
512 <jvmarg line="${ext.class.path}"/> |
520 <jvmarg line="${ext.class.path}"/> |
513 <jvmarg line="${run.test.jvmargs} -Xmx${run.test.xmx} ${run.test.jvmsecurityargs}"/> |
521 <jvmarg line="${run.test.jvmargs} -Xmx${run.test.xmx} ${run.test.jvmsecurityargs} -Dbuild.dir=${build.dir}"/> |
514 <classpath> |
522 <classpath> |
515 <pathelement path="${run.test.classpath}"/> |
523 <pathelement path="${run.test.classpath}"/> |
516 </classpath> |
524 </classpath> |
517 <syspropertyset> |
525 <syspropertyset> |
518 <propertyref prefix="test262-test-sys-prop."/> |
526 <propertyref prefix="test262-test-sys-prop."/> |