6 echo "usage: ./test.sh <project> [ <test> ... ]"
7 echo " where <project> is \"all\" or a JNode component project, and"
8 echo " the <test>s are targets in the respective \"build-tests.xml\" files"
12 if [ $1 = all ] ; then
13 PROJECTS=`find . -maxdepth 2 -name build-tests.xml -exec dirname {} \;`
19 for PROJECT in $PROJECTS ; do
20 java -Xmx768M -Xms256M -jar $dir/core/lib/ant-launcher.jar \
21 -lib $JAVA_HOME/lib -lib $dir/core/lib \
22 -f $dir/$PROJECT/build-tests.xml $*