mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-03 22:27:15 +00:00

Made run_unit_tests.sh work when starting from cron Added error detection to TestRunner class
10 lines
243 B
Bash
Executable File
10 lines
243 B
Bash
Executable File
#!/bin/bash
|
|
FULL_PATH=`dirname $(readlink -f $0)`
|
|
source $FULL_PATH/path_settup.sh
|
|
|
|
export SSH_AUTH_SOCK=`find /tmp/keyring* -name ssh`
|
|
export DISPLAY=:0.0
|
|
|
|
cd $SVNDIR
|
|
nice php -f ${AUTOTESTDIR}/run_unit_tests.php $WEBDIR > $FULL_PATH/err.log
|