< prev index next >

make/build-benchmark.xml

Print this page




 297     <property name="runtime" value="rhino"/>
 298     <antcall target="octane-process-separate"/>
 299     <antcall target="octane-process-single"/>
 300   </target>
 301 
 302   <macrodef name="run-one">
 303     <attribute name="cond"/>
 304     <attribute name="runtime" default=""/>
 305     <sequential>
 306         <antcall target="run-octane-@{runtime}" if:set="@{cond}">
 307           <param name="octane-tests" value="${@{cond}}"/>
 308         </antcall>
 309     </sequential>
 310   </macrodef>
 311 
 312   <target name="run-octane-nashorn">
 313     <java classname="${nashorn.shell.tool}"
 314           classpath="${run.test.classpath}"
 315           fork="true"
 316           dir=".">
 317       <jvmarg line="${ext.class.path}"/>
 318       <jvmarg line="${run.test.jvmargs.octane} -Xms${run.test.xms} -Xmx${run.test.xmx}"/>
 319       <!-- pass on all properties prefixed with 'nashorn' to the runtime -->
 320       <syspropertyset>
 321         <propertyref prefix="nashorn."/>
 322       </syspropertyset>
 323       <arg value="${octane-test-sys-prop.test.js.framework}"/>
 324       <arg value="-scripting"/>
 325       <arg value="--"/>
 326       <arg value="${octane-tests}"/>
 327       <arg value="--runtime"/>
 328       <arg value="nashorn"/>
 329       <arg value="--verbose"/>
 330       <arg value="--iterations ${octane.iterations}"/>
 331     </java>
 332   </target>
 333 
 334   <target name="run-octane-v8">
 335     <exec executable="${v8.shell}">
 336       <arg value="${octane-test-sys-prop.test.js.framework}"/>
 337       <arg value="--"/>


 370 
 371   <target name="sunspider-init" depends="jar">
 372     <fileset id="sunspider-set"
 373          dir="${sunspider-test-sys-prop.test.js.roots}"
 374          excludes="${sunspider-test-sys-prop.test.js.exclude.list}">
 375       <include name="**/*.js"/>
 376     </fileset>
 377     <pathconvert pathsep=" " property="sunspider-tests" refid="sunspider-set"/>
 378   </target>
 379 
 380   <!--- SUNSPIDER JOB BELOW -->
 381 
 382   <!-- run sunspider with Nashorn -->
 383   <target name="sunspider" depends="sunspider-nashorn"/>
 384 
 385   <target name="sunspider-nashorn" depends="sunspider-init">
 386     <java classname="${nashorn.shell.tool}"
 387           classpath="${run.test.classpath}"
 388           fork="true"
 389           dir=".">
 390       <jvmarg line="${ext.class.path}"/>
 391       <jvmarg line="${run.test.jvmargs} -Xmx${run.test.xmx}"/>
 392       <arg value="-timezone=PST"/>
 393       <arg value="--class-cache-size=50"/>
 394       <arg value="${sunspider-test-sys-prop.test.js.framework}"/>
 395       <arg value="--"/>
 396       <arg value="${sunspider-tests}/"/>
 397       <arg value="--verbose"/>
 398       <arg value="--times"/>
 399       <arg value="${sunspider.iterations}"/>
 400     </java>
 401   </target>
 402 
 403   <!-- run sunspider with v8 -->
 404   <target name="sunspider-v8" depends="sunspider-init">
 405     <exec executable="${v8.shell}">
 406       <arg value="${sunspider-test-sys-prop.test.js.framework}"/>
 407       <arg value="--"/>
 408       <arg value="${sunspider-tests}/"/>
 409       <arg value="--verbose"/>
 410       <arg value="--times"/>




 297     <property name="runtime" value="rhino"/>
 298     <antcall target="octane-process-separate"/>
 299     <antcall target="octane-process-single"/>
 300   </target>
 301 
 302   <macrodef name="run-one">
 303     <attribute name="cond"/>
 304     <attribute name="runtime" default=""/>
 305     <sequential>
 306         <antcall target="run-octane-@{runtime}" if:set="@{cond}">
 307           <param name="octane-tests" value="${@{cond}}"/>
 308         </antcall>
 309     </sequential>
 310   </macrodef>
 311 
 312   <target name="run-octane-nashorn">
 313     <java classname="${nashorn.shell.tool}"
 314           classpath="${run.test.classpath}"
 315           fork="true"
 316           dir=".">
 317       <jvmarg line="${boot.class.path}"/>
 318       <jvmarg line="${run.test.jvmargs.octane} -Xms${run.test.xms} -Xmx${run.test.xmx}"/>
 319       <!-- pass on all properties prefixed with 'nashorn' to the runtime -->
 320       <syspropertyset>
 321         <propertyref prefix="nashorn."/>
 322       </syspropertyset>
 323       <arg value="${octane-test-sys-prop.test.js.framework}"/>
 324       <arg value="-scripting"/>
 325       <arg value="--"/>
 326       <arg value="${octane-tests}"/>
 327       <arg value="--runtime"/>
 328       <arg value="nashorn"/>
 329       <arg value="--verbose"/>
 330       <arg value="--iterations ${octane.iterations}"/>
 331     </java>
 332   </target>
 333 
 334   <target name="run-octane-v8">
 335     <exec executable="${v8.shell}">
 336       <arg value="${octane-test-sys-prop.test.js.framework}"/>
 337       <arg value="--"/>


 370 
 371   <target name="sunspider-init" depends="jar">
 372     <fileset id="sunspider-set"
 373          dir="${sunspider-test-sys-prop.test.js.roots}"
 374          excludes="${sunspider-test-sys-prop.test.js.exclude.list}">
 375       <include name="**/*.js"/>
 376     </fileset>
 377     <pathconvert pathsep=" " property="sunspider-tests" refid="sunspider-set"/>
 378   </target>
 379 
 380   <!--- SUNSPIDER JOB BELOW -->
 381 
 382   <!-- run sunspider with Nashorn -->
 383   <target name="sunspider" depends="sunspider-nashorn"/>
 384 
 385   <target name="sunspider-nashorn" depends="sunspider-init">
 386     <java classname="${nashorn.shell.tool}"
 387           classpath="${run.test.classpath}"
 388           fork="true"
 389           dir=".">
 390       <jvmarg line="${boot.class.path}"/>
 391       <jvmarg line="${run.test.jvmargs} -Xmx${run.test.xmx}"/>
 392       <arg value="-timezone=PST"/>
 393       <arg value="--class-cache-size=50"/>
 394       <arg value="${sunspider-test-sys-prop.test.js.framework}"/>
 395       <arg value="--"/>
 396       <arg value="${sunspider-tests}/"/>
 397       <arg value="--verbose"/>
 398       <arg value="--times"/>
 399       <arg value="${sunspider.iterations}"/>
 400     </java>
 401   </target>
 402 
 403   <!-- run sunspider with v8 -->
 404   <target name="sunspider-v8" depends="sunspider-init">
 405     <exec executable="${v8.shell}">
 406       <arg value="${sunspider-test-sys-prop.test.js.framework}"/>
 407       <arg value="--"/>
 408       <arg value="${sunspider-tests}/"/>
 409       <arg value="--verbose"/>
 410       <arg value="--times"/>


< prev index next >