bin/run_octane.sh

Wed, 10 Sep 2014 09:05:38 -0700

author
katleman
date
Wed, 10 Sep 2014 09:05:38 -0700
changeset 989
0a2b63f54b1c
parent 963
e2497b11a021
permissions
-rw-r--r--

Added tag jdk8u40-b05 for changeset 2d75c391f61f

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

mercurial