run_tests.sh 228 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/bin/sh

#remove old results
rm -f testResults/*

#Run tests
cd ..

CTEST_BINARY=ctest

if [ $(uname) == Darwin ]; then
CTEST_BINARY=/opt/local/bin/ctest  
fi

15
$CTEST_BINARY --no-compress-output
16
ERRORLEVEL=$?
Martin Schultz's avatar
Martin Schultz committed
17

18
exit $ERRORLEVEL