Mercurial > hg > graal-compiler
annotate runtests.sh @ 2940:bf15ed11c2bc
Rename ClipNode=>FixedGuard and FixedNullCheck=>IsNonNull.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Thu, 09 Jun 2011 14:56:14 +0200 |
parents | 35fb2fef44f1 |
children | 3ed1b2a5d071 |
rev | line source |
---|---|
2513
3452f96a1139
Added script to run Maxine java tester tests.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
diff
changeset
|
1 #!/bin/bash |
2553
b21123d5a693
test scripts: use JDK7 env var, check all required vars
Lukas Stadler <lukas.stadler@jku.at>
parents:
2514
diff
changeset
|
2 if [ -z "${JDK7}" ]; then |
b21123d5a693
test scripts: use JDK7 env var, check all required vars
Lukas Stadler <lukas.stadler@jku.at>
parents:
2514
diff
changeset
|
3 echo "JDK7 is not defined." |
b21123d5a693
test scripts: use JDK7 env var, check all required vars
Lukas Stadler <lukas.stadler@jku.at>
parents:
2514
diff
changeset
|
4 exit 1; |
b21123d5a693
test scripts: use JDK7 env var, check all required vars
Lukas Stadler <lukas.stadler@jku.at>
parents:
2514
diff
changeset
|
5 fi |
b21123d5a693
test scripts: use JDK7 env var, check all required vars
Lukas Stadler <lukas.stadler@jku.at>
parents:
2514
diff
changeset
|
6 if [ -z "${MAXINE}" ]; then |
b21123d5a693
test scripts: use JDK7 env var, check all required vars
Lukas Stadler <lukas.stadler@jku.at>
parents:
2514
diff
changeset
|
7 echo "MAXINE is not defined. It must point to a maxine repository directory." |
b21123d5a693
test scripts: use JDK7 env var, check all required vars
Lukas Stadler <lukas.stadler@jku.at>
parents:
2514
diff
changeset
|
8 exit 1; |
b21123d5a693
test scripts: use JDK7 env var, check all required vars
Lukas Stadler <lukas.stadler@jku.at>
parents:
2514
diff
changeset
|
9 fi |
b21123d5a693
test scripts: use JDK7 env var, check all required vars
Lukas Stadler <lukas.stadler@jku.at>
parents:
2514
diff
changeset
|
10 if [ -z "${GRAAL}" ]; then |
b21123d5a693
test scripts: use JDK7 env var, check all required vars
Lukas Stadler <lukas.stadler@jku.at>
parents:
2514
diff
changeset
|
11 echo "GRAAL is not defined. It must point to a maxine repository directory." |
b21123d5a693
test scripts: use JDK7 env var, check all required vars
Lukas Stadler <lukas.stadler@jku.at>
parents:
2514
diff
changeset
|
12 exit 1; |
b21123d5a693
test scripts: use JDK7 env var, check all required vars
Lukas Stadler <lukas.stadler@jku.at>
parents:
2514
diff
changeset
|
13 fi |
2693
bcbda467e1ae
Clean up; removed subroutine block flag.
Thomas Wuerthinger <thomas@wuerthinger.net>
parents:
2680
diff
changeset
|
14 TESTDIR=${MAXINE}/com.oracle.max.vm/test |
2911 | 15 ${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 -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 |