nashorn/bin/verbose_octane.bat
author coffeys
Wed, 02 Apr 2014 20:15:59 +0100
changeset 23753 27d1fe3a2bef
parent 16163 71f4cff209a9
permissions -rw-r--r--
8039108: Build Broken: 8035618 fix breaks corba build Reviewed-by: alanb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     1
rem
16151
97c1e756ae1e 8005663: Update copyright year to 2013
jlaskey
parents: 16147
diff changeset
     2
rem Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     3
rem DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     4
rem 
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     5
rem This code is free software; you can redistribute it and/or modify it
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     6
rem under the terms of the GNU General Public License version 2 only, as
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     7
rem published by the Free Software Foundation.
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     8
rem 
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     9
rem This code is distributed in the hope that it will be useful, but WITHOUT
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    10
rem ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    11
rem FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    12
rem version 2 for more details (a copy is included in the LICENSE file that
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    13
rem accompanied this code).
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    14
rem 
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    15
rem You should have received a copy of the GNU General Public License version
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    16
rem 2 along with this work; if not, write to the Free Software Foundation,
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    17
rem Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    18
rem 
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    19
rem Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    20
rem or visit www.oracle.com if you need additional information or have any
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    21
rem questions.
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    22
rem
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    23
@echo off
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    24
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    25
if "%JAVA_HOME%" neq "" (
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    26
  call :run "%JAVA_HOME%/bin/java"
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    27
) else (
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    28
  call :run java
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    29
)
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    30
goto :EOF
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    31
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    32
:run
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    33
setlocal
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    34
set NASHORN_JAR=dist/nashorn.jar
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    35
set JVM_FLAGS=-Xms2G -Xmx2G -XX:-TieredCompilation -server -esa -ea -jar %NASHORN_JAR%
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    36
set JVM_FLAGS7=-Xbootclasspath/p:%NASHORN_JAR% %JVM_FLAGS%
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    37
set OCTANE_ARGS=--verbose --iterations 7
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    38
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    39
%1 -fullversion 2>&1 | findstr /L /C:"version ""1.7"
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    40
if %errorlevel% equ 0 (
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    41
  set CMD=%1 %JVM_FLAGS7%
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    42
) else (
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    43
  %1 -fullversion
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    44
  set CMD=%1 %JVM_FLAGS%
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    45
)
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    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
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    58
endlocal
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
    59
goto :EOF