author | katleman |
Thu, 11 Apr 2013 09:39:48 -0700 | |
changeset 16752 | ec149fe77498 |
parent 16163 | 71f4cff209a9 |
permissions | -rw-r--r-- |
16147 | 1 |
rem |
16151 | 2 |
rem Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. |
16147 | 3 |
rem DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 |
rem |
|
5 |
rem This code is free software; you can redistribute it and/or modify it |
|
6 |
rem under the terms of the GNU General Public License version 2 only, as |
|
7 |
rem published by the Free Software Foundation. |
|
8 |
rem |
|
9 |
rem This code is distributed in the hope that it will be useful, but WITHOUT |
|
10 |
rem ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
11 |
rem FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
12 |
rem version 2 for more details (a copy is included in the LICENSE file that |
|
13 |
rem accompanied this code). |
|
14 |
rem |
|
15 |
rem You should have received a copy of the GNU General Public License version |
|
16 |
rem 2 along with this work; if not, write to the Free Software Foundation, |
|
17 |
rem Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
18 |
rem |
|
19 |
rem Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
|
20 |
rem or visit www.oracle.com if you need additional information or have any |
|
21 |
rem questions. |
|
22 |
rem |
|
23 |
@echo off |
|
24 |
||
25 |
if "%JAVA_HOME%" neq "" ( |
|
26 |
call :run "%JAVA_HOME%/bin/java" |
|
27 |
) else ( |
|
28 |
call :run java |
|
29 |
) |
|
30 |
goto :EOF |
|
31 |
||
32 |
:run |
|
33 |
setlocal |
|
34 |
set NASHORN_JAR=dist/nashorn.jar |
|
35 |
set JVM_FLAGS=-Xms2G -Xmx2G -XX:-TieredCompilation -server -esa -ea -jar %NASHORN_JAR% |
|
36 |
set JVM_FLAGS7=-Xbootclasspath/p:%NASHORN_JAR% %JVM_FLAGS% |
|
37 |
set OCTANE_ARGS=--verbose --iterations 7 |
|
38 |
||
39 |
%1 -fullversion 2>&1 | findstr /L /C:"version ""1.7" |
|
40 |
if %errorlevel% equ 0 ( |
|
41 |
set CMD=%1 %JVM_FLAGS7% |
|
42 |
) else ( |
|
43 |
%1 -fullversion |
|
44 |
set CMD=%1 %JVM_FLAGS% |
|
45 |
) |
|
46 |
||
16163
71f4cff209a9
8005940: provide ant targets to get and update external test scripts
sundar
parents:
16151
diff
changeset
|
47 |
%CMD% test/script/basic/run-octane.js -- test/script/external/octane/box2d.js %OCTANE_ARGS% |
71f4cff209a9
8005940: provide ant targets to get and update external test scripts
sundar
parents:
16151
diff
changeset
|
48 |
%CMD% test/script/basic/run-octane.js -- test/script/external/octane/code-load.js %OCTANE_ARGS% |
71f4cff209a9
8005940: provide ant targets to get and update external test scripts
sundar
parents:
16151
diff
changeset
|
49 |
%CMD% test/script/basic/run-octane.js -- test/script/external/octane/crypto.js %OCTANE_ARGS% |
71f4cff209a9
8005940: provide ant targets to get and update external test scripts
sundar
parents:
16151
diff
changeset
|
50 |
%CMD% test/script/basic/run-octane.js -- test/script/external/octane/deltablue.js %OCTANE_ARGS% |
71f4cff209a9
8005940: provide ant targets to get and update external test scripts
sundar
parents:
16151
diff
changeset
|
51 |
%CMD% test/script/basic/run-octane.js -- test/script/external/octane/gbemu.js %OCTANE_ARGS% |
71f4cff209a9
8005940: provide ant targets to get and update external test scripts
sundar
parents:
16151
diff
changeset
|
52 |
%CMD% test/script/basic/run-octane.js -- test/script/external/octane/navier-stokes.js %OCTANE_ARGS% |
71f4cff209a9
8005940: provide ant targets to get and update external test scripts
sundar
parents:
16151
diff
changeset
|
53 |
%CMD% test/script/basic/run-octane.js -- test/script/external/octane/pdfjs.js %OCTANE_ARGS% |
71f4cff209a9
8005940: provide ant targets to get and update external test scripts
sundar
parents:
16151
diff
changeset
|
54 |
%CMD% test/script/basic/run-octane.js -- test/script/external/octane/raytrace.js %OCTANE_ARGS% |
71f4cff209a9
8005940: provide ant targets to get and update external test scripts
sundar
parents:
16151
diff
changeset
|
55 |
%CMD% test/script/basic/run-octane.js -- test/script/external/octane/regexp.js %OCTANE_ARGS% |
71f4cff209a9
8005940: provide ant targets to get and update external test scripts
sundar
parents:
16151
diff
changeset
|
56 |
%CMD% test/script/basic/run-octane.js -- test/script/external/octane/richards.js %OCTANE_ARGS% |
71f4cff209a9
8005940: provide ant targets to get and update external test scripts
sundar
parents:
16151
diff
changeset
|
57 |
%CMD% test/script/basic/run-octane.js -- test/script/external/octane/splay.js %OCTANE_ARGS% |
16147 | 58 |
endlocal |
59 |
goto :EOF |