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