bin/verbose_octane.bat

changeset 0
b1a7da25b547
child 952
6d5471a497fb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/bin/verbose_octane.bat	Wed Apr 27 01:36:41 2016 +0800
     1.3 @@ -0,0 +1,59 @@
     1.4 +rem
     1.5 +rem Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
     1.6 +rem DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.7 +rem 
     1.8 +rem This code is free software; you can redistribute it and/or modify it
     1.9 +rem under the terms of the GNU General Public License version 2 only, as
    1.10 +rem published by the Free Software Foundation.
    1.11 +rem 
    1.12 +rem This code is distributed in the hope that it will be useful, but WITHOUT
    1.13 +rem ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    1.14 +rem FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    1.15 +rem version 2 for more details (a copy is included in the LICENSE file that
    1.16 +rem accompanied this code).
    1.17 +rem 
    1.18 +rem You should have received a copy of the GNU General Public License version
    1.19 +rem 2 along with this work; if not, write to the Free Software Foundation,
    1.20 +rem Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    1.21 +rem 
    1.22 +rem Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    1.23 +rem or visit www.oracle.com if you need additional information or have any
    1.24 +rem questions.
    1.25 +rem
    1.26 +@echo off
    1.27 +
    1.28 +if "%JAVA_HOME%" neq "" (
    1.29 +  call :run "%JAVA_HOME%/bin/java"
    1.30 +) else (
    1.31 +  call :run java
    1.32 +)
    1.33 +goto :EOF
    1.34 +
    1.35 +:run
    1.36 +setlocal
    1.37 +set NASHORN_JAR=dist/nashorn.jar
    1.38 +set JVM_FLAGS=-Xms2G -Xmx2G -XX:-TieredCompilation -server -esa -ea -jar %NASHORN_JAR%
    1.39 +set JVM_FLAGS7=-Xbootclasspath/p:%NASHORN_JAR% %JVM_FLAGS%
    1.40 +set OCTANE_ARGS=--verbose --iterations 7
    1.41 +
    1.42 +%1 -fullversion 2>&1 | findstr /L /C:"version ""1.7"
    1.43 +if %errorlevel% equ 0 (
    1.44 +  set CMD=%1 %JVM_FLAGS7%
    1.45 +) else (
    1.46 +  %1 -fullversion
    1.47 +  set CMD=%1 %JVM_FLAGS%
    1.48 +)
    1.49 +
    1.50 +%CMD% test/script/basic/run-octane.js -- test/script/external/octane/box2d.js %OCTANE_ARGS%
    1.51 +%CMD% test/script/basic/run-octane.js -- test/script/external/octane/code-load.js %OCTANE_ARGS%
    1.52 +%CMD% test/script/basic/run-octane.js -- test/script/external/octane/crypto.js %OCTANE_ARGS%
    1.53 +%CMD% test/script/basic/run-octane.js -- test/script/external/octane/deltablue.js %OCTANE_ARGS%
    1.54 +%CMD% test/script/basic/run-octane.js -- test/script/external/octane/gbemu.js %OCTANE_ARGS%
    1.55 +%CMD% test/script/basic/run-octane.js -- test/script/external/octane/navier-stokes.js %OCTANE_ARGS%
    1.56 +%CMD% test/script/basic/run-octane.js -- test/script/external/octane/pdfjs.js %OCTANE_ARGS%
    1.57 +%CMD% test/script/basic/run-octane.js -- test/script/external/octane/raytrace.js %OCTANE_ARGS%
    1.58 +%CMD% test/script/basic/run-octane.js -- test/script/external/octane/regexp.js %OCTANE_ARGS%
    1.59 +%CMD% test/script/basic/run-octane.js -- test/script/external/octane/richards.js %OCTANE_ARGS%
    1.60 +%CMD% test/script/basic/run-octane.js -- test/script/external/octane/splay.js %OCTANE_ARGS%
    1.61 +endlocal
    1.62 +goto :EOF

mercurial