if [ "$SAGE_LOCAL" = "" ]; then
   echo "SAGE_LOCAL undefined ... exiting"
   echo "Maybe run 'sage -sh'?"
   exit 1
fi

cd src/build/

echo "Now running the SCIP test suite..."
# Do the tests with the installed version of SCIP.
# (The uninstalled ones do not work because we did not adjust their library dependencies.)
$MAKE test  | tee testsuite.log
if [ $? -ne 0 ]; then
    echo >&2 "Error: The SCIP test suite failed with an error status."
    exit 1
fi
