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