Mercurial > hg > graal-compiler
annotate runfilter.sh @ 3485:1e5500ecd6bd
added framestate to unsafe intrinsics - fixes ordering bug
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Thu, 04 Aug 2011 11:10:07 +0200 |
parents | adfd999fff7d |
children | 344264424174 |
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 |
3198
adfd999fff7d
Canonicalize & DCE after peeling, fix for spliting in peeling
Gilles Duboscq <gilles.duboscq@oracle.com>
parents:
3065
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 ${TESTDIR}/jtt/reflect ${TESTDIR}/jtt/hotspot |