#!/usr/bin/env bash

set -e
THISDIR=`dirname $0`

BUILDVARS=${THISDIR}/build-vars.sh
if [ ! -f ${BUILDVARS} ] ; then
  echo "Need ${BUILDVARS} to exist"
  exit 1
fi
source ${BUILDVARS}

cd ${TURBINE}
echo
echo "Testing Turbine"
echo "================"
make test_results

cd ${STC}
echo
echo "Testing STC"
echo "================"
# Test at multiple optimization levels
../tests/run-tests.zsh -c -O0 -O1 -O2


#!/usr/bin/env bash

set -e
THISDIR=`dirname $0`

BUILDVARS=${THISDIR}/build-vars.sh
if [ ! -f ${BUILDVARS} ] ; then
  echo "Need ${BUILDVARS} to exist"
  exit 1
fi
source ${BUILDVARS}

cd ${TURBINE}
echo
echo "Testing Turbine"
echo "================"
if make test_results
then
    echo "All Turbine tests passed"
else
    echo "Turbine tests failed"
fi

cd ${STC}
echo
echo "Testing STC"
echo "================"
# Test at multiple optimization levels
../tests/run-tests.zsh -c -O0 -O1 -O2


Handle Turbine test failure in script without aborting
Handle Turbine test failure in script without aborting

git-svn-id: f4b26cf27632231e98e31e0a7940ffb3ce3b0279@5305 dc4e9af1-7f46-4ead-bba6-71afc04862de
