if [ -d "${WEBROOTDIR}/${TESTNAME}" ]; then
# Don't re-run the tests if nothing has changed
exit 0
fi
cd build/test || exit 1
if [ ! -x kits -o ! -x publish-tests ]; then
if [ ! -x test -o ! -x publish-tests ]; then
echo 'Missing scripts, aborting.' >&2
exit 1
fi
# Only run one at a time
if [ -f '__AUTO_TESTS_RUNNING__' ]; then