projects
/
fusionforge
/
fusionforge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
926f841
)
More debug in testsuite
author
Roland Mas
<lolando@debian.org>
Mon, 17 Sep 2012 18:49:58 +0000
(18:49 +0000)
committer
Roland Mas
<lolando@debian.org>
Mon, 17 Sep 2012 18:49:58 +0000
(18:49 +0000)
tests/scripts/phpunit.sh
patch
|
blob
|
history
diff --git
a/tests/scripts/phpunit.sh
b/tests/scripts/phpunit.sh
index 12f8014798696615a8c4aef13bb6aebb422ef2dc..4d0d1886ed523544ba4f295171427328a8cfc761 100755
(executable)
--- a/
tests/scripts/phpunit.sh
+++ b/
tests/scripts/phpunit.sh
@@
-47,13
+47,16
@@
define('DB_PASSWORD', '@@FFDB_PASS@@');
define('DB_INIT_CMD', "$FORGE_HOME/tests/func/db_reload.sh >>/var/log/db_reload_selenium.log 2>&1");
// Cronjob wrapper script location
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")) {
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")) {
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 {
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,
dying.
";
- system ("
ls -lha $FORGE_HOME $FORGE_HOME/bin $FORGE_HOME/src/utils
");
+ 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);
}
exit(1);
}