Wed, 10 Sep 2014 09:05:38 -0700
Added tag jdk8u40-b05 for changeset 2d75c391f61f
1 #!/bin/bash
2 #
3 # Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved.
4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 #
6 # This code is free software; you can redistribute it and/or modify it
7 # under the terms of the GNU General Public License version 2 only, as
8 # published by the Free Software Foundation.
9 #
10 # This code is distributed in the hope that it will be useful, but WITHOUT
11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13 # version 2 for more details (a copy is included in the LICENSE file that
14 # accompanied this code).
15 #
16 # You should have received a copy of the GNU General Public License version
17 # 2 along with this work; if not, write to the Free Software Foundation,
18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19 #
20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
21 # or visit www.oracle.com if you need additional information or have any
22 # questions.
23 #
25 LOG="./octane_$(date|sed "s/ /_/g"|sed "s/:/_/g").log"
27 run_one() {
28 sh ../bin/runopt.sh -scripting ../test/script/basic/run-octane.js -- $1 --verbose --iterations 25 | tee -a $LOG
29 }
31 if [ -z $1 ]; then
33 run_one "box2d"
34 run_one "code-load"
35 run_one "crypto"
36 run_one "deltablue"
37 run_one "earley-boyer"
38 run_one "gbemu"
39 run_one "mandreel"
40 run_one "navier-stokes"
41 run_one "pdfjs"
42 run_one "raytrace"
43 run_one "regexp"
44 run_one "richards"
45 run_one "splay"
46 run_one "typescript"
47 run_one "zlib"
49 else
50 run_one $1
51 fi