diff options
Diffstat (limited to 'make/build.xml')
-rw-r--r-- | make/build.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/make/build.xml b/make/build.xml index 4d23f228..35877aef 100644 --- a/make/build.xml +++ b/make/build.xml @@ -348,6 +348,10 @@ grant codeBase "file:/${basedir}/test/script/basic/classloader.js" { <include name="**/framework/*Test.class"/> </fileset> + <fileset id="test.nosecurity.classes" dir="${build.test.classes.dir}"> + <include name="**/framework/ScriptTest.class"/> + </fileset> + <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}"/> @@ -361,6 +365,21 @@ grant codeBase "file:/${basedir}/test/script/basic/classloader.js" { <pathelement path="${run.test.classpath}"/> </classpath> </testng> + <testng outputdir="${build.nosecurity.test.results.dir}" classfilesetref="test.nosecurity.classes" + verbose="${testng.verbose}" haltonfailure="true" useDefaultListeners="false" listeners="${testng.listeners}" workingDir="${basedir}"> + <jvmarg line="${ext.class.path}"/> + <jvmarg line="${run.test.jvmargs} -Xmx${run.test.xmx}"/> + <propertyset> + <propertyref prefix="nashorn."/> + </propertyset> + <propertyset> + <propertyref prefix="test-sys-prop-no-security."/> + <mapper from="test-sys-prop-no-security.*" to="*" type="glob"/> + </propertyset> + <classpath> + <pathelement path="${run.test.classpath}"/> + </classpath> + </testng> </target> <target name="test-basicparallel" depends="jar, check-testng, check-external-tests, compile-test, generate-policy-file"> |