@@ -17,19 +17,13 @@ # On Wednesday, do a distclean to force redownloading everything (mainly # for CVS Head) and force a rebuild to ensure up-to-date build status if [ "$(date '+%u')" = "3" ]; then ./kitcreator distclean || exit 1 - - touch "${KITCREATORDIR}/build/test/force_nightly" -fi - -if [ -d "${WEBROOTDIR}/${TESTNAME}" ]; then - # Don't re-run the tests if nothing has changed - if [ -f "${KITCREATORDIR}/build/test/force_nightly" ]; then - rm -f "${KITCREATORDIR}/build/test/force_nightly" - else +else + if [ -d "${WEBROOTDIR}/${TESTNAME}" ]; then + # Don't re-run the tests if nothing has changed exit 0 fi fi cd build/test || exit 1