Mercurial > hg > truffle
annotate runfilter.sh @ 3723:6c5f528c7aac
Added a copy of the mxtool to repo.
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 16 Dec 2011 16:46:33 +0100 |
parents | e82da3a1bbc9 |
children |
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 |
3618
e82da3a1bbc9
Fix crash in branch prediction if there's no current environment.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
3615
diff
changeset
|
17 COMMAND="${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" |
e82da3a1bbc9
Fix crash in branch prediction if there's no current environment.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
3615
diff
changeset
|
18 echo $COMMAND |
e82da3a1bbc9
Fix crash in branch prediction if there's no current environment.
Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
parents:
3615
diff
changeset
|
19 $COMMAND |