Mercurial > hg > graal-jvmci-8
annotate runfilter.sh @ 3134:4b63eb1197ca
Various fixes around escape analysis.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Sat, 02 Jul 2011 02:46:04 +0200 |
parents | fef84503ab7d |
children | adfd999fff7d |
rev | line source |
---|---|
3041
5e8f82715790
Add filtered tests script
Gilles Duboscq <gilles.duboscq@oracle.com>
parents:
diff
changeset
|
1 #!/bin/bash |
5e8f82715790
Add filtered tests script
Gilles Duboscq <gilles.duboscq@oracle.com>
parents:
diff
changeset
|
2 if [ -z "${JDK7}" ]; then |
5e8f82715790
Add filtered tests script
Gilles Duboscq <gilles.duboscq@oracle.com>
parents:
diff
changeset
|
3 echo "JDK7 is not defined." |
5e8f82715790
Add filtered tests script
Gilles Duboscq <gilles.duboscq@oracle.com>
parents:
diff
changeset
|
4 exit 1; |
5e8f82715790
Add filtered tests script
Gilles Duboscq <gilles.duboscq@oracle.com>
parents:
diff
changeset
|
5 fi |
5e8f82715790
Add filtered tests script
Gilles Duboscq <gilles.duboscq@oracle.com>
parents:
diff
changeset
|
6 if [ -z "${MAXINE}" ]; then |
5e8f82715790
Add filtered tests script
Gilles Duboscq <gilles.duboscq@oracle.com>
parents:
diff
changeset
|
7 echo "MAXINE is not defined. It must point to a maxine repository directory." |
5e8f82715790
Add filtered tests script
Gilles Duboscq <gilles.duboscq@oracle.com>
parents:
diff
changeset
|
8 exit 1; |
5e8f82715790
Add filtered tests script
Gilles Duboscq <gilles.duboscq@oracle.com>
parents:
diff
changeset
|
9 fi |
5e8f82715790
Add filtered tests script
Gilles Duboscq <gilles.duboscq@oracle.com>
parents:
diff
changeset
|
10 if [ -z "${GRAAL}" ]; then |
5e8f82715790
Add filtered tests script
Gilles Duboscq <gilles.duboscq@oracle.com>
parents:
diff
changeset
|
11 echo "GRAAL is not defined. It must point to a maxine repository directory." |
5e8f82715790
Add filtered tests script
Gilles Duboscq <gilles.duboscq@oracle.com>
parents:
diff
changeset
|
12 exit 1; |
5e8f82715790
Add filtered tests script
Gilles Duboscq <gilles.duboscq@oracle.com>
parents:
diff
changeset
|
13 fi |
5e8f82715790
Add filtered tests script
Gilles Duboscq <gilles.duboscq@oracle.com>
parents:
diff
changeset
|
14 if [ $# -lt 1 ]; then |
5e8f82715790
Add filtered tests script
Gilles Duboscq <gilles.duboscq@oracle.com>
parents:
diff
changeset
|
15 echo "You must provide at least a filter option" |
5e8f82715790
Add filtered tests script
Gilles Duboscq <gilles.duboscq@oracle.com>
parents:
diff
changeset
|
16 exit 1; |
5e8f82715790
Add filtered tests script
Gilles Duboscq <gilles.duboscq@oracle.com>
parents:
diff
changeset
|
17 fi |
5e8f82715790
Add filtered tests script
Gilles Duboscq <gilles.duboscq@oracle.com>
parents:
diff
changeset
|
18 FILTER=$1 |
5e8f82715790
Add filtered tests script
Gilles Duboscq <gilles.duboscq@oracle.com>
parents:
diff
changeset
|
19 shift 1 |
5e8f82715790
Add filtered tests script
Gilles Duboscq <gilles.duboscq@oracle.com>
parents:
diff
changeset
|
20 TESTDIR=${MAXINE}/com.oracle.max.vm/test |
3065
fef84503ab7d
Create new FieldWriteBarrier. Enable possibility to lower node directly to LIR.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
3041
diff
changeset
|
21 ${JDK7}/bin/java -client -d64 -graal -ea -esa -Xcomp -XX:+PrintCompilation -XX:CompileOnly=jtt -Xbootclasspath/p:"${MAXINE}/com.oracle.max.vm/bin" -Xbootclasspath/p:"${MAXINE}/com.oracle.max.base/bin" $@ test.com.sun.max.vm.compiler.JavaTester -filter=${FILTER} -verbose=1 -gen-run-scheme=false -run-scheme-package=all $@ ${TESTDIR}/jtt/bytecode ${TESTDIR}/jtt/except ${TESTDIR}/jtt/hotpath ${TESTDIR}/jtt/jdk ${TESTDIR}/jtt/lang ${TESTDIR}/jtt/loop ${TESTDIR}/jtt/micro ${TESTDIR}/jtt/optimize ${TESTDIR}/jtt/reflect ${TESTDIR}/jtt/threads |