Mercurial > hg > truffle
comparison runfilter.sh @ 3041:5e8f82715790
Add filtered tests script
author | Gilles Duboscq <gilles.duboscq@oracle.com> |
---|---|
date | Mon, 20 Jun 2011 19:46:47 +0200 |
parents | |
children | fef84503ab7d |
comparison
equal
deleted
inserted
replaced
3040:5e70ffd361fb | 3041:5e8f82715790 |
---|---|
1 #!/bin/bash | |
2 if [ -z "${JDK7}" ]; then | |
3 echo "JDK7 is not defined." | |
4 exit 1; | |
5 fi | |
6 if [ -z "${MAXINE}" ]; then | |
7 echo "MAXINE is not defined. It must point to a maxine repository directory." | |
8 exit 1; | |
9 fi | |
10 if [ -z "${GRAAL}" ]; then | |
11 echo "GRAAL is not defined. It must point to a maxine repository directory." | |
12 exit 1; | |
13 fi | |
14 if [ $# -lt 1 ]; then | |
15 echo "You must provide at least a filter option" | |
16 exit 1; | |
17 fi | |
18 FILTER=$1 | |
19 shift 1 | |
20 TESTDIR=${MAXINE}/com.oracle.max.vm/test | |
21 ${JDK7}/bin/java -client -d64 -graal -ea -esa -Xcomp -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 |