if [ "$SAGE_LOCAL" = "" ]; then
    echo >&2 "SAGE_LOCAL undefined ... exiting";
    exit 1
fi

cd src
$MAKE check
if [ $? -ne 0 ]; then
    echo >&2 "Error while running the R testsuite ... exiting"
    exit 1
fi

