Mercurial > hg > graal-jvmci-8
annotate runfilter.sh @ 3615:4ac37df2b9ad
Updated the combine filter.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Thu, 03 Nov 2011 05:12:22 +0100 |
parents | cda0630a8640 |
children | e82da3a1bbc9 |
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 [ $# -lt 1 ]; then |
5e8f82715790
Add filtered tests script
Gilles Duboscq <gilles.duboscq@oracle.com>
parents:
diff
changeset
|
11 echo "You must provide at least a filter option" |
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 FILTER=$1 |
5e8f82715790
Add filtered tests script
Gilles Duboscq <gilles.duboscq@oracle.com>
parents:
diff
changeset
|
15 shift 1 |
5e8f82715790
Add filtered tests script
Gilles Duboscq <gilles.duboscq@oracle.com>
parents:
diff
changeset
|
16 TESTDIR=${MAXINE}/com.oracle.max.vm/test |
3615
4ac37df2b9ad
Updated the combine filter.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
3584
diff
changeset
|
17 ${JDK7}/bin/java -graal -ea -esa -Xcomp -G:Plot -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 |