shift
else
echo "You must give the testsuite to run :"
- echo " - DEBDebian60Tests.php"
+ echo " - DEBDebian70Tests.php"
echo " - RPMCentosTests.php"
echo " - TarCentosTests.php"
fi
define('DB_NAME', getenv('DB_NAME'));
define('DB_USER', getenv('DB_USER'));
define('DB_PASSWORD', '@@FFDB_PASS@@');
-define('DB_INIT_CMD', "$FORGE_HOME/tests/func/db_reload.sh >>/var/log/db_reload_selenium.log 2>>/var/log/db_reload_selenium.errlog");
+define('DB_INIT_CMD', "$FORGE_HOME/tests/func/db_reload.sh >>/var/log/db_reload_selenium.log 2>&1");
+
+// Cronjob wrapper script location
+print "Looking for forge_run_job script...\n";
+if (is_executable ("$FORGE_HOME/bin/forge_run_job")) {
+ print "Found in $FORGE_HOME/bin/\n";
+ define('RUN_JOB_PATH', "$FORGE_HOME/bin/");
+} elseif (is_executable ("$FORGE_HOME/src/utils/forge_run_job")) {
+ print "Found in $FORGE_HOME/src/utils/\n";
+ define('RUN_JOB_PATH', "$FORGE_HOME/src/utils/");
+} else {
+ print "Neither $FORGE_HOME/bin/forge_run_job nor $FORGE_HOME/src/utils/forge_run_job seem to be executable, strange.\n";
+ system ("find $FORGE_HOME");
+ exit(1);
+}
// this should be an existing user of the forge together with its password
// (the password should be different from 'myadmin')