Wed, 22 May 2013 16:39:48 +0530
8008947: ScriptEnvironment ctor should be public
Reviewed-by: lagergren, attila
jlaskey@3 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
jlaskey@3 | 2 | <!-- |
jlaskey@7 | 3 | Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. |
jlaskey@3 | 4 | DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
jlaskey@3 | 5 | |
jlaskey@3 | 6 | This code is free software; you can redistribute it and/or modify it |
jlaskey@3 | 7 | under the terms of the GNU General Public License version 2 only, as |
jlaskey@3 | 8 | published by the Free Software Foundation. |
jlaskey@3 | 9 | |
jlaskey@3 | 10 | This code is distributed in the hope that it will be useful, but WITHOUT |
jlaskey@3 | 11 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
jlaskey@3 | 12 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
jlaskey@3 | 13 | version 2 for more details (a copy is included in the LICENSE file that |
jlaskey@3 | 14 | accompanied this code). |
jlaskey@3 | 15 | |
jlaskey@3 | 16 | You should have received a copy of the GNU General Public License version |
jlaskey@3 | 17 | 2 along with this work; if not, write to the Free Software Foundation, |
jlaskey@3 | 18 | Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
jlaskey@3 | 19 | |
jlaskey@3 | 20 | Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
jlaskey@3 | 21 | or visit www.oracle.com if you need additional information or have any |
jlaskey@3 | 22 | questions. |
jlaskey@3 | 23 | --> |
jlaskey@3 | 24 | <project name="nashorn-benchmarks" default="all" basedir=".."> |
jlaskey@3 | 25 | |
jlaskey@3 | 26 | <target name="octane-init" depends="jar"> |
jlaskey@3 | 27 | <fileset id="octane-set" |
jlaskey@3 | 28 | dir="${octane-test-sys-prop.test.js.roots}" |
jlaskey@3 | 29 | excludes="${octane-test-sys-prop.test.js.exclude.list}"> |
sundar@21 | 30 | <include name="*.js"/> |
jlaskey@3 | 31 | </fileset> |
jlaskey@3 | 32 | <pathconvert pathsep=" " property="octane-tests" refid="octane-set"/> |
jlaskey@3 | 33 | </target> |
jlaskey@3 | 34 | |
jlaskey@3 | 35 | <!-- box2d --> |
sundar@25 | 36 | <target name="octane-box2d" depends="jar"> |
sundar@25 | 37 | <antcall target="run-octane"> |
sundar@25 | 38 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/box2d.js"/> |
sundar@25 | 39 | </antcall> |
jlaskey@3 | 40 | </target> |
jlaskey@3 | 41 | |
sundar@25 | 42 | <target name="octane-box2d-v8" depends="jar"> |
sundar@25 | 43 | <antcall target="run-octane-v8"> |
sundar@25 | 44 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/box2d.js"/> |
sundar@25 | 45 | </antcall> |
sundar@25 | 46 | </target> |
sundar@25 | 47 | |
sundar@25 | 48 | <target name="octane-box2d-rhino" depends="jar"> |
sundar@25 | 49 | <antcall target="run-octane-rhino"> |
sundar@25 | 50 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/box2d.js"/> |
sundar@25 | 51 | </antcall> |
sundar@25 | 52 | </target> |
sundar@25 | 53 | |
sundar@25 | 54 | <!-- code-load --> |
sundar@25 | 55 | <target name="octane-code-load" depends="jar"> |
sundar@25 | 56 | <antcall target="run-octane"> |
sundar@25 | 57 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/code-load.js"/> |
sundar@25 | 58 | </antcall> |
sundar@25 | 59 | </target> |
sundar@25 | 60 | |
sundar@25 | 61 | <target name="octane-code-load-v8" depends="jar"> |
sundar@25 | 62 | <antcall target="run-octane-v8"> |
sundar@25 | 63 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/code-load.js"/> |
sundar@25 | 64 | </antcall> |
sundar@25 | 65 | </target> |
sundar@25 | 66 | |
sundar@25 | 67 | <target name="octane-code-load-rhino" depends="jar"> |
sundar@25 | 68 | <antcall target="run-octane-rhino"> |
sundar@25 | 69 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/code-load.js"/> |
sundar@25 | 70 | </antcall> |
sundar@25 | 71 | </target> |
sundar@25 | 72 | |
sundar@25 | 73 | <!-- crypto --> |
sundar@25 | 74 | <target name="octane-crypto" depends="jar"> |
sundar@25 | 75 | <antcall target="run-octane"> |
sundar@25 | 76 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/crypto.js"/> |
sundar@25 | 77 | </antcall> |
sundar@25 | 78 | </target> |
sundar@25 | 79 | |
sundar@25 | 80 | <target name="octane-crypto-v8" depends="jar"> |
sundar@25 | 81 | <antcall target="run-octane-v8"> |
sundar@25 | 82 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/crypto.js"/> |
sundar@25 | 83 | </antcall> |
sundar@25 | 84 | </target> |
sundar@25 | 85 | |
sundar@25 | 86 | <target name="octane-crypto-rhino" depends="jar"> |
sundar@25 | 87 | <antcall target="run-octane-rhino"> |
sundar@25 | 88 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/crypto.js"/> |
sundar@25 | 89 | </antcall> |
sundar@25 | 90 | </target> |
sundar@25 | 91 | |
sundar@25 | 92 | <!-- deltablue --> |
sundar@25 | 93 | <target name="octane-deltablue" depends="jar"> |
sundar@25 | 94 | <antcall target="run-octane"> |
sundar@25 | 95 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/deltablue.js"/> |
sundar@25 | 96 | </antcall> |
sundar@25 | 97 | </target> |
sundar@25 | 98 | |
sundar@25 | 99 | <target name="octane-deltablue-v8" depends="jar"> |
sundar@25 | 100 | <antcall target="run-octane-v8"> |
sundar@25 | 101 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/deltablue.js"/> |
sundar@25 | 102 | </antcall> |
sundar@25 | 103 | </target> |
sundar@25 | 104 | |
sundar@25 | 105 | <target name="octane-deltablue-rhino" depends="jar"> |
sundar@25 | 106 | <antcall target="run-octane-rhino"> |
sundar@25 | 107 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/deltablue.js"/> |
sundar@25 | 108 | </antcall> |
sundar@25 | 109 | </target> |
sundar@25 | 110 | |
sundar@25 | 111 | <!-- earley-boyer --> |
sundar@25 | 112 | <target name="octane-earley-boyer" depends="jar"> |
sundar@25 | 113 | <antcall target="run-octane"> |
sundar@25 | 114 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/earley-boyer.js"/> |
sundar@25 | 115 | </antcall> |
sundar@25 | 116 | </target> |
sundar@25 | 117 | |
sundar@25 | 118 | <target name="octane-earley-boyer-v8" depends="jar"> |
sundar@25 | 119 | <antcall target="run-octane-v8"> |
sundar@25 | 120 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/earley-boyer.js"/> |
sundar@25 | 121 | </antcall> |
sundar@25 | 122 | </target> |
sundar@25 | 123 | |
sundar@25 | 124 | <target name="octane-earley-boyer-rhino" depends="jar"> |
sundar@25 | 125 | <antcall target="run-octane-rhino"> |
sundar@25 | 126 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/earley-boyer.js"/> |
sundar@25 | 127 | </antcall> |
sundar@25 | 128 | </target> |
sundar@25 | 129 | |
sundar@25 | 130 | <!-- gbemu --> |
sundar@25 | 131 | <target name="octane-gbemu" depends="jar"> |
sundar@25 | 132 | <antcall target="run-octane"> |
sundar@25 | 133 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/gbemu.js"/> |
sundar@25 | 134 | </antcall> |
sundar@25 | 135 | </target> |
sundar@25 | 136 | |
sundar@25 | 137 | <target name="octane-gbemu-v8" depends="jar"> |
sundar@25 | 138 | <antcall target="run-octane-v8"> |
sundar@25 | 139 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/gbemu.js"/> |
sundar@25 | 140 | </antcall> |
sundar@25 | 141 | </target> |
sundar@25 | 142 | |
sundar@25 | 143 | <target name="octane-gbemu-rhino" depends="jar"> |
sundar@25 | 144 | <antcall target="run-octane-rhino"> |
sundar@25 | 145 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/gbemu.js"/> |
sundar@25 | 146 | </antcall> |
sundar@25 | 147 | </target> |
sundar@25 | 148 | |
sundar@25 | 149 | <!-- mandreel --> |
sundar@25 | 150 | <target name="octane-mandreel" depends="jar"> |
sundar@25 | 151 | <antcall target="run-octane"> |
sundar@25 | 152 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/mandreel.js"/> |
sundar@25 | 153 | </antcall> |
sundar@25 | 154 | </target> |
sundar@25 | 155 | |
sundar@25 | 156 | <target name="octane-mandreel-v8" depends="jar"> |
sundar@25 | 157 | <antcall target="run-octane-v8"> |
sundar@25 | 158 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/mandreel.js"/> |
sundar@25 | 159 | </antcall> |
sundar@25 | 160 | </target> |
sundar@25 | 161 | |
sundar@25 | 162 | <target name="octane-mandreel-rhino" depends="jar"> |
sundar@25 | 163 | <antcall target="run-octane-rhino"> |
sundar@25 | 164 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/mandreel.js"/> |
sundar@25 | 165 | </antcall> |
sundar@25 | 166 | </target> |
sundar@25 | 167 | |
sundar@25 | 168 | <!-- navier-stokes --> |
sundar@25 | 169 | <target name="octane-navier-stokes" depends="jar"> |
sundar@25 | 170 | <antcall target="run-octane"> |
sundar@25 | 171 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/navier-stokes.js"/> |
sundar@25 | 172 | </antcall> |
sundar@25 | 173 | </target> |
sundar@25 | 174 | |
sundar@25 | 175 | <target name="octane-navier-stokes-v8" depends="jar"> |
sundar@25 | 176 | <antcall target="run-octane-v8"> |
sundar@25 | 177 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/navier-stokes.js"/> |
sundar@25 | 178 | </antcall> |
sundar@25 | 179 | </target> |
sundar@25 | 180 | |
sundar@25 | 181 | <target name="octane-navier-stokes-rhino" depends="jar"> |
sundar@25 | 182 | <antcall target="run-octane-rhino"> |
sundar@25 | 183 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/navier-stokes.js"/> |
sundar@25 | 184 | </antcall> |
sundar@25 | 185 | </target> |
sundar@25 | 186 | |
sundar@25 | 187 | <!-- pdfjs --> |
sundar@25 | 188 | <target name="octane-pdfjs" depends="jar"> |
sundar@25 | 189 | <antcall target="run-octane"> |
sundar@25 | 190 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/pdfjs.js"/> |
sundar@25 | 191 | </antcall> |
sundar@25 | 192 | </target> |
sundar@25 | 193 | |
sundar@25 | 194 | <target name="octane-pdfjs-v8" depends="jar"> |
sundar@25 | 195 | <antcall target="run-octane-v8"> |
sundar@25 | 196 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/pdfjs.js"/> |
sundar@25 | 197 | </antcall> |
sundar@25 | 198 | </target> |
sundar@25 | 199 | |
sundar@25 | 200 | <target name="octane-pdfjs-rhino" depends="jar"> |
sundar@25 | 201 | <antcall target="run-octane-rhino"> |
sundar@25 | 202 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/pdfjs.js"/> |
sundar@25 | 203 | </antcall> |
sundar@25 | 204 | </target> |
sundar@25 | 205 | |
sundar@25 | 206 | <!-- raytrace --> |
sundar@25 | 207 | <target name="octane-raytrace" depends="jar"> |
sundar@25 | 208 | <antcall target="run-octane"> |
sundar@25 | 209 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/raytrace.js"/> |
sundar@25 | 210 | </antcall> |
sundar@25 | 211 | </target> |
sundar@25 | 212 | |
sundar@25 | 213 | <target name="octane-raytrace-v8" depends="jar"> |
sundar@25 | 214 | <antcall target="run-octane-v8"> |
sundar@25 | 215 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/raytrace.js"/> |
sundar@25 | 216 | </antcall> |
sundar@25 | 217 | </target> |
sundar@25 | 218 | |
sundar@25 | 219 | <target name="octane-raytrace-rhino" depends="jar"> |
sundar@25 | 220 | <antcall target="run-octane-rhino"> |
sundar@25 | 221 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/raytrace.js"/> |
sundar@25 | 222 | </antcall> |
sundar@25 | 223 | </target> |
sundar@25 | 224 | |
sundar@25 | 225 | <!-- regexp --> |
sundar@25 | 226 | <target name="octane-regexp" depends="jar"> |
sundar@25 | 227 | <antcall target="run-octane"> |
sundar@25 | 228 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/regexp.js"/> |
sundar@25 | 229 | </antcall> |
sundar@25 | 230 | </target> |
sundar@25 | 231 | |
sundar@25 | 232 | <target name="octane-regexp-octane-v8" depends="jar"> |
sundar@25 | 233 | <antcall target="run-octane-v8"> |
sundar@25 | 234 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/regexp.js"/> |
sundar@25 | 235 | </antcall> |
sundar@25 | 236 | </target> |
sundar@25 | 237 | |
sundar@25 | 238 | <target name="octane-regexp-rhino" depends="jar"> |
sundar@25 | 239 | <antcall target="run-octane-rhino"> |
sundar@25 | 240 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/regexp.js"/> |
sundar@25 | 241 | </antcall> |
sundar@25 | 242 | </target> |
sundar@25 | 243 | |
sundar@25 | 244 | <!-- richards --> |
sundar@25 | 245 | <target name="octane-richards" depends="jar"> |
sundar@25 | 246 | <antcall target="run-octane"> |
sundar@25 | 247 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/richards.js"/> |
sundar@25 | 248 | </antcall> |
sundar@25 | 249 | </target> |
sundar@25 | 250 | |
sundar@25 | 251 | <target name="octane-richards-v8" depends="jar"> |
sundar@25 | 252 | <antcall target="run-octane-v8"> |
sundar@25 | 253 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/richards.js"/> |
sundar@25 | 254 | </antcall> |
sundar@25 | 255 | </target> |
sundar@25 | 256 | |
sundar@25 | 257 | <target name="octane-richards-rhino" depends="jar"> |
sundar@25 | 258 | <antcall target="run-octane-rhino"> |
sundar@25 | 259 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/richards.js"/> |
sundar@25 | 260 | </antcall> |
sundar@25 | 261 | </target> |
sundar@25 | 262 | |
sundar@25 | 263 | <!-- splay --> |
sundar@25 | 264 | <target name="octane-splay" depends="jar"> |
sundar@25 | 265 | <antcall target="run-octane"> |
sundar@25 | 266 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/splay.js"/> |
sundar@25 | 267 | </antcall> |
sundar@25 | 268 | </target> |
sundar@25 | 269 | |
sundar@25 | 270 | <target name="octane-splay-v8" depends="jar"> |
sundar@25 | 271 | <antcall target="run-octane-v8"> |
sundar@25 | 272 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/splay.js"/> |
sundar@25 | 273 | </antcall> |
sundar@25 | 274 | </target> |
sundar@25 | 275 | |
sundar@25 | 276 | <target name="octane-splay-rhino" depends="jar"> |
sundar@25 | 277 | <antcall target="run-octane-rhino"> |
sundar@25 | 278 | <param name="octane-tests" value="${octane-test-sys-prop.test.js.roots}/splay.js"/> |
sundar@25 | 279 | </antcall> |
sundar@25 | 280 | </target> |
sundar@25 | 281 | |
sundar@25 | 282 | <!-- run octane benchmarks in a single process --> |
sundar@25 | 283 | <target name="octane-single-process" depends="octane-init"> |
jlaskey@3 | 284 | <antcall target="run-octane"/> |
jlaskey@3 | 285 | </target> |
jlaskey@3 | 286 | |
sundar@25 | 287 | <!-- mandreel excluded due to OOM --> |
sundar@25 | 288 | <target name="octane-separate-process" depends= |
sundar@25 | 289 | "octane-box2d, octane-code-load, octane-crypto, |
sundar@25 | 290 | octane-deltablue, octane-earley-boyer, octane-gbemu, |
sundar@25 | 291 | octane-navier-stokes, octane-pdfjs, octane-raytrace, |
sundar@25 | 292 | octane-regexp, octane-richards, octane-splay"/> |
sundar@25 | 293 | |
sundar@25 | 294 | <target name="--single-process" unless="${octane-test-sys-prop.separate.process}"> |
sundar@25 | 295 | <antcall target="octane-single-process"/> |
sundar@25 | 296 | </target> |
sundar@25 | 297 | <target name="--separate-process" if="${octane-test-sys-prop.separate.process}"> |
sundar@25 | 298 | <antcall target="octane-separate-process"/> |
jlaskey@3 | 299 | </target> |
jlaskey@3 | 300 | |
sundar@25 | 301 | <!-- run 'octane' in single or separate processes based on config --> |
sundar@25 | 302 | <target name="octane" depends="init, --single-process, --separate-process"/> |
jlaskey@3 | 303 | |
jlaskey@3 | 304 | <!-- run octane benchmarks using octane as runtime --> |
jlaskey@3 | 305 | <target name="octane-v8" depends="octane-init"> |
jlaskey@3 | 306 | <antcall target="run-octane-v8"/> |
jlaskey@3 | 307 | </target> |
jlaskey@3 | 308 | |
jlaskey@3 | 309 | <!-- run octane benchmarks using Rhino as runtime --> |
jlaskey@3 | 310 | <target name="octane-rhino" depends="octane-init"> |
jlaskey@3 | 311 | <antcall target="run-octane-rhino"/> |
jlaskey@3 | 312 | </target> |
jlaskey@3 | 313 | |
jlaskey@3 | 314 | <target name="run-octane"> |
jlaskey@3 | 315 | <java classname="${nashorn.shell.tool}" |
jlaskey@3 | 316 | classpath="${run.test.classpath}" |
jlaskey@3 | 317 | fork="true" |
jlaskey@3 | 318 | dir="."> |
jlaskey@3 | 319 | <jvmarg line="${ext.class.path}"/> |
jlaskey@3 | 320 | <jvmarg line="${run.test.jvmargs.octane}"/> |
jlaskey@3 | 321 | <arg value="${octane-test-sys-prop.test.js.framework}"/> |
jlaskey@3 | 322 | <arg value="--"/> |
jlaskey@3 | 323 | <arg value="${octane-tests}"/> |
jlaskey@3 | 324 | <arg value="--runtime"/> |
jlaskey@3 | 325 | <arg value="Nashorn"/> |
jlaskey@3 | 326 | <arg value="--verbose"/> |
jlaskey@3 | 327 | <arg value="--iterations 8"/> |
jlaskey@3 | 328 | </java> |
jlaskey@3 | 329 | </target> |
jlaskey@3 | 330 | |
jlaskey@3 | 331 | <target name="run-octane-v8"> |
jlaskey@3 | 332 | <exec executable="${v8.shell}"> |
jlaskey@3 | 333 | <arg value="${octane-test-sys-prop.test.js.framework}"/> |
jlaskey@3 | 334 | <arg value="--"/> |
jlaskey@3 | 335 | <arg value="${octane-tests}"/> |
jlaskey@3 | 336 | <arg value="--runtime"/> |
jlaskey@3 | 337 | <arg value="v8"/> |
jlaskey@3 | 338 | <arg value="--verbose"/> |
jlaskey@3 | 339 | <arg value="--iterations 8"/> |
jlaskey@3 | 340 | </exec> |
jlaskey@3 | 341 | </target> |
jlaskey@3 | 342 | |
jlaskey@3 | 343 | <target name="run-octane-rhino"> |
jlaskey@3 | 344 | <java jar="${rhino.jar}" |
jlaskey@3 | 345 | classpath="${run.test.classpath}" |
jlaskey@3 | 346 | fork="true" |
jlaskey@3 | 347 | dir="."> |
jlaskey@3 | 348 | <jvmarg line="${run.test.jvmargs.octane}"/> |
jlaskey@3 | 349 | <arg value="${octane-test-sys-prop.test.js.framework}"/> |
jlaskey@3 | 350 | <arg value="${octane-tests}"/> |
jlaskey@3 | 351 | <arg value="--runtime"/> |
jlaskey@3 | 352 | <arg value="Rhino"/> |
jlaskey@3 | 353 | <arg value="--verbose"/> |
jlaskey@3 | 354 | <arg value="--iterations 8"/> |
jlaskey@3 | 355 | </java> |
jlaskey@3 | 356 | </target> |
jlaskey@3 | 357 | |
jlaskey@3 | 358 | <!-- run octane with all known runtimes for comparison --> |
jlaskey@3 | 359 | <target name="octane-all" depends="octane, octane-v8, octane-rhino"> |
jlaskey@3 | 360 | <exec executable="${v8.shell}"> |
jlaskey@3 | 361 | <arg value="${octane-test-sys-prop.test.js.framework}"/> |
jlaskey@3 | 362 | <arg value="${octane-tests}/"/> |
jlaskey@3 | 363 | </exec> |
jlaskey@3 | 364 | </target> |
jlaskey@3 | 365 | |
jlaskey@3 | 366 | <target name="sunspider-init" depends="jar"> |
jlaskey@3 | 367 | <fileset id="sunspider-set" |
jlaskey@3 | 368 | dir="${sunspider-test-sys-prop.test.js.roots}" |
jlaskey@3 | 369 | excludes="${sunspider-test-sys-prop.test.js.exclude.list}"> |
jlaskey@3 | 370 | <include name="**/*.js"/> |
jlaskey@3 | 371 | </fileset> |
jlaskey@3 | 372 | <pathconvert pathsep=" " property="sunspider-tests" refid="sunspider-set"/> |
jlaskey@3 | 373 | </target> |
jlaskey@3 | 374 | |
jlaskey@3 | 375 | <!-- run sunspider with Nashorn --> |
jlaskey@3 | 376 | <target name="sunspider" depends="sunspider-init"> |
jlaskey@3 | 377 | <java classname="${nashorn.shell.tool}" |
jlaskey@3 | 378 | classpath="${run.test.classpath}" |
jlaskey@3 | 379 | fork="true" |
jlaskey@3 | 380 | dir="."> |
jlaskey@3 | 381 | <jvmarg line="${ext.class.path}"/> |
jlaskey@3 | 382 | <jvmarg line="${run.test.jvmargs}"/> |
jlaskey@3 | 383 | <arg value="-timezone=PST"/> |
jlaskey@3 | 384 | <arg value="--class-cache-size=50"/> |
jlaskey@3 | 385 | <arg value="${sunspider-test-sys-prop.test.js.framework}"/> |
jlaskey@3 | 386 | <arg value="--"/> |
jlaskey@3 | 387 | <arg value="${sunspider-tests}/"/> |
jlaskey@3 | 388 | </java> |
jlaskey@3 | 389 | </target> |
jlaskey@3 | 390 | |
jlaskey@3 | 391 | <!-- run sunspider with v8 --> |
jlaskey@3 | 392 | <target name="sunspider-v8" depends="sunspider-init"> |
jlaskey@3 | 393 | <exec executable="${v8.shell}"> |
jlaskey@3 | 394 | <arg value="${sunspider-test-sys-prop.test.js.framework}"/> |
jlaskey@3 | 395 | <arg value="--"/> |
jlaskey@3 | 396 | <arg value="${sunspider-tests}/"/> |
jlaskey@3 | 397 | </exec> |
jlaskey@3 | 398 | </target> |
jlaskey@3 | 399 | |
jlaskey@3 | 400 | <!-- run sunspider with Rhino --> |
jlaskey@3 | 401 | <target name="sunspider-rhino" depends="sunspider-init"> |
jlaskey@3 | 402 | <java jar="${rhino.jar}" |
jlaskey@3 | 403 | classpath="${run.test.classpath}" |
jlaskey@3 | 404 | fork="true" |
jlaskey@3 | 405 | dir="."> |
jlaskey@3 | 406 | <jvmarg line="${run.test.jvmargs}"/> |
jlaskey@3 | 407 | <arg value="${sunspider-test-sys-prop.test.js.framework}"/> |
jlaskey@3 | 408 | <arg value="${sunspider-tests}/"/> |
jlaskey@3 | 409 | </java> |
jlaskey@3 | 410 | </target> |
jlaskey@3 | 411 | |
jlaskey@3 | 412 | </project> |