8008193: test262 tests should be run with security manager enabled
Reviewed-by: jlaskey
This commit is contained in:
parent
ecc2be22e3
commit
9f6e3f08f2
@ -317,7 +317,7 @@
|
||||
</java>
|
||||
</target>
|
||||
|
||||
<target name="test262" depends="jar, check-testng, check-external-tests, compile-test" if="testng.available">
|
||||
<target name="test262" depends="jar, check-testng, check-external-tests, compile-test, generate-policy-file" if="testng.available">
|
||||
<fileset id="test.classes" dir="${build.test.classes.dir}">
|
||||
<include name="**/framework/*Test.class"/>
|
||||
</fileset>
|
||||
@ -325,7 +325,7 @@
|
||||
<testng outputdir="${build.test.results.dir}" classfilesetref="test.classes"
|
||||
verbose="${testng.verbose}" haltonfailure="true" useDefaultListeners="false" listeners="${testng.listeners}" workingDir="${basedir}">
|
||||
<jvmarg line="${ext.class.path}"/>
|
||||
<jvmarg line="${run.test.jvmargs}"/>
|
||||
<jvmarg line="${run.test.jvmargs} ${run.test.jvmsecurityargs}"/>
|
||||
<propertyset>
|
||||
<propertyref prefix="test262-test-sys-prop."/>
|
||||
<mapper from="test262-test-sys-prop.*" to="*" type="glob"/>
|
||||
@ -338,11 +338,14 @@
|
||||
|
||||
<target name="test262parallel" depends="test262-parallel"/>
|
||||
|
||||
<target name="test262-parallel" depends="jar, check-testng, check-external-tests, compile-test" if="testng.available">
|
||||
<target name="test262-parallel" depends="jar, check-testng, check-external-tests, compile-test, generate-policy-file" if="testng.available">
|
||||
<!-- use just build.test.classes.dir to avoid referring to TestNG -->
|
||||
<java classname="${parallel.test.runner}" dir="${basedir}" classpath="${build.test.classes.dir}" fork="true">
|
||||
<java classname="${parallel.test.runner}" dir="${basedir}" fork="true">
|
||||
<jvmarg line="${ext.class.path}"/>
|
||||
<jvmarg line="${run.test.jvmargs}"/>
|
||||
<jvmarg line="${run.test.jvmargs} ${run.test.jvmsecurityargs}"/>
|
||||
<classpath>
|
||||
<pathelement path="${run.test.classpath}"/>
|
||||
</classpath>
|
||||
<syspropertyset>
|
||||
<propertyref prefix="test262-test-sys-prop."/>
|
||||
<mapper type="glob" from="test262-test-sys-prop.*" to="*"/>
|
||||
|
Loading…
Reference in New Issue
Block a user