nashorn/make/build.xml
changeset 24586 601c81b4165d
parent 24384 aa4f755d97ec
child 24639 cde22f00c4e6
child 24769 de4dcfa9380f
equal deleted inserted replaced
24408:97932f6ad950 24586:601c81b4165d
   358       <include name="**/runtime/regexp/*Test.class"/>
   358       <include name="**/runtime/regexp/*Test.class"/>
   359       <include name="**/runtime/regexp/joni/*Test.class"/>
   359       <include name="**/runtime/regexp/joni/*Test.class"/>
   360       <include name="**/framework/*Test.class"/>
   360       <include name="**/framework/*Test.class"/>
   361     </fileset>
   361     </fileset>
   362 
   362 
       
   363     <fileset id="test.nosecurity.classes" dir="${build.test.classes.dir}">
       
   364       <include name="**/framework/ScriptTest.class"/>
       
   365     </fileset>
       
   366 
   363     <testng outputdir="${build.test.results.dir}" classfilesetref="test.classes"
   367     <testng outputdir="${build.test.results.dir}" classfilesetref="test.classes"
   364        verbose="${testng.verbose}" haltonfailure="true" useDefaultListeners="false" listeners="${testng.listeners}" workingDir="${basedir}">
   368        verbose="${testng.verbose}" haltonfailure="true" useDefaultListeners="false" listeners="${testng.listeners}" workingDir="${basedir}">
   365       <jvmarg line="${ext.class.path}"/>
   369       <jvmarg line="${ext.class.path}"/>
   366       <jvmarg line="${run.test.jvmargs} -Xmx${run.test.xmx} ${run.test.jvmsecurityargs}"/>
   370       <jvmarg line="${run.test.jvmargs} -Xmx${run.test.xmx} ${run.test.jvmsecurityargs}"/>
   367       <propertyset>
   371       <propertyset>
   370       <propertyset>
   374       <propertyset>
   371         <propertyref prefix="test-sys-prop."/>
   375         <propertyref prefix="test-sys-prop."/>
   372         <mapper from="test-sys-prop.*" to="*" type="glob"/>
   376         <mapper from="test-sys-prop.*" to="*" type="glob"/>
   373       </propertyset>
   377       </propertyset>
   374       <sysproperty key="test.js.excludes.file" value="${exclude.list}"/>
   378       <sysproperty key="test.js.excludes.file" value="${exclude.list}"/>
       
   379       <classpath>
       
   380           <pathelement path="${run.test.classpath}"/>
       
   381       </classpath>
       
   382     </testng>
       
   383     <testng outputdir="${build.nosecurity.test.results.dir}" classfilesetref="test.nosecurity.classes"
       
   384        verbose="${testng.verbose}" haltonfailure="true" useDefaultListeners="false" listeners="${testng.listeners}" workingDir="${basedir}">
       
   385       <jvmarg line="${ext.class.path}"/>
       
   386       <jvmarg line="${run.test.jvmargs} -Xmx${run.test.xmx}"/>
       
   387       <propertyset>
       
   388         <propertyref prefix="nashorn."/>
       
   389       </propertyset>
       
   390       <propertyset>
       
   391         <propertyref prefix="test-sys-prop-no-security."/>
       
   392         <mapper from="test-sys-prop-no-security.*" to="*" type="glob"/>
       
   393       </propertyset>
   375       <classpath>
   394       <classpath>
   376           <pathelement path="${run.test.classpath}"/>
   395           <pathelement path="${run.test.classpath}"/>
   377       </classpath>
   396       </classpath>
   378     </testng>
   397     </testng>
   379   </target>
   398   </target>