bin/verbose_octane.bat

Wed, 09 Jan 2013 22:32:40 +0530

author
sundar
date
Wed, 09 Jan 2013 22:32:40 +0530
changeset 19
4cd65798ec70
parent 7
5a1b0714df0e
child 952
6d5471a497fb
permissions
-rw-r--r--

8005940: provide ant targets to get and update external test scripts
Reviewed-by: jlaskey, lagergren

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

mercurial