Mercurial > hg > graal-compiler
annotate runfilter.sh @ 3101:6ccb95c97e6d
IdealGraphVisualizer: Work around a problem with JSplitPane and the NetBeans editor: setDividerLocation() doesn't work when the split pane has not been layouted and painted yet. JSplitPane then initially uses a tiny width for the left editor component, which causes the editor to calculate invalid offsets and constantly throw exceptions, particularly on mouse events. Thus, defer adding the two components and setting the divider's location.
author | Peter Hofer <peter.hofer@jku.at> |
---|---|
date | Thu, 30 Jun 2011 12:17:27 +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 |