bin/run_octane.sh

changeset 1039
4af4491477eb
parent 1038
0bcc64d0d193
parent 1008
1196f17cf7bc
child 1041
83e53aa5acf2
     1.1 --- a/bin/run_octane.sh	Thu Sep 11 15:34:13 2014 -0700
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,51 +0,0 @@
     1.4 -#!/bin/bash
     1.5 -#
     1.6 -# Copyright (c) 2010, 2014, Oracle and/or its affiliates. All rights reserved.
     1.7 -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8 -# 
     1.9 -# This code is free software; you can redistribute it and/or modify it
    1.10 -# under the terms of the GNU General Public License version 2 only, as
    1.11 -# published by the Free Software Foundation.
    1.12 -# 
    1.13 -# This code is distributed in the hope that it will be useful, but WITHOUT
    1.14 -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    1.15 -# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    1.16 -# version 2 for more details (a copy is included in the LICENSE file that
    1.17 -# accompanied this code).
    1.18 -# 
    1.19 -# You should have received a copy of the GNU General Public License version
    1.20 -# 2 along with this work; if not, write to the Free Software Foundation,
    1.21 -# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    1.22 -# 
    1.23 -# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    1.24 -# or visit www.oracle.com if you need additional information or have any
    1.25 -# questions.
    1.26 -#
    1.27 -
    1.28 -LOG="./octane_$(date|sed "s/ /_/g"|sed "s/:/_/g").log"
    1.29 -
    1.30 -run_one() {
    1.31 -    sh ../bin/runopt.sh -scripting ../test/script/basic/run-octane.js -- $1 --verbose --iterations 25 | tee -a $LOG
    1.32 -}
    1.33 -
    1.34 -if [ -z $1 ]; then 
    1.35 -
    1.36 -    run_one "box2d"
    1.37 -    run_one "code-load"
    1.38 -    run_one "crypto"
    1.39 -    run_one "deltablue"
    1.40 -    run_one "earley-boyer"
    1.41 -    run_one "gbemu"
    1.42 -    run_one "mandreel"
    1.43 -    run_one "navier-stokes"
    1.44 -    run_one "pdfjs"
    1.45 -    run_one "raytrace"
    1.46 -    run_one "regexp"
    1.47 -    run_one "richards"
    1.48 -    run_one "splay"
    1.49 -    run_one "typescript"
    1.50 -    run_one "zlib"
    1.51 -
    1.52 -else
    1.53 -    run_one $1
    1.54 -fi

mercurial