#!/bin/sh

echo "****************************"
echo "Starting on-commit tests...."
echo "****************************"
echo ""

JAVA=java5

scriptdir=`dirname "$0"`
. "$scriptdir"/sanity.sh ${JAVA}

if [ $? -ne 0 ]; then
  echo ""
  echo "ERROR: On-commit tests failed; see above"
  exit 1
fi


. "$scriptdir"/coverage.sh ${JAVA}

if [ $? -ne 0 ]; then
  echo ""
  echo "ERROR: On-commit coverage failed; see above"
  exit 1
fi

echo ""
echo "***************************************"
echo "Completed on-commit tests successfully!"
echo "***************************************"


#!/bin/sh

echo "****************************"
echo "Starting on-commit tests...."
echo "****************************"
echo ""

JAVA=java6

scriptdir=`dirname "$0"`
. "$scriptdir"/sanity.sh ${JAVA}

if [ $? -ne 0 ]; then
  echo ""
  echo "ERROR: On-commit tests failed; see above"
  exit 1
fi


. "$scriptdir"/coverage.sh ${JAVA}

if [ $? -ne 0 ]; then
  echo ""
  echo "ERROR: On-commit coverage failed; see above"
  exit 1
fi

echo ""
echo "***************************************"
echo "Completed on-commit tests successfully!"
echo "***************************************"


Change builds to use Java 6
Change builds to use Java 6

git-svn-id: e0b2aeb8f21661518fb15bd4cc7482ccc71e7a3a@93 3c0c4179-e91d-42e7-a082-8e2792ce3676
