diff --git a/resources/tests.wesnoth.org/autotester/path_settup.sh.template b/resources/tests.wesnoth.org/autotester/path_settup.sh.template deleted file mode 100644 index bccd5c11aa1..00000000000 --- a/resources/tests.wesnoth.org/autotester/path_settup.sh.template +++ /dev/null @@ -1,19 +0,0 @@ -# This file is loaded by all unit test scripts to settup correct worknig paths -#/* -# Copyright (C) 2008 by Pauli Nieminen -# Part of the Battle for Wesnoth Project http://www.wesnoth.org/ -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License version 2 -# or at your option any later version. -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY. -# -# See the COPYING file for more details. -#*/ - - -SVNDIR="/path/to/wesnoth/trunk" -WEBDIR="/path/to/tests/htdocs" -AUTOTESTDIR="/path/to/tests/autotester" - diff --git a/resources/tests.wesnoth.org/autotester/run_unit_tests.sh b/resources/tests.wesnoth.org/autotester/run_unit_tests.sh index 97d869fb681..c9c0ac2782f 100755 --- a/resources/tests.wesnoth.org/autotester/run_unit_tests.sh +++ b/resources/tests.wesnoth.org/autotester/run_unit_tests.sh @@ -13,11 +13,13 @@ #*/ FULL_PATH=`dirname $(readlink -f $0)` -source $FULL_PATH/path_settup.sh +#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 +WEBDIR=$FULL_PATH/../htdocs + +cd $FULL_PATH +nice php -f run_unit_tests.php $WEBDIR #> $FULL_PATH/err.log