Author: suokko
Date: Mon Aug 18 16:52:00 2008
New Revision: 28709
URL: http://svn.gna.org/viewcvs/wesnoth?rev=28709&view=rev
Log:
Made unit test runner detect paths automaticaly
Removed:
branches/resources/tests.wesnoth.org/autotester/path_settup.sh.template
Modified:
branches/resources/tests.wesnoth.org/autotester/run_unit_tests.sh
Removed: branches/resources/tests.wesnoth.org/autotester/path_settup.sh.template
URL:
http://svn.gna.org/viewcvs/wesnoth/branches/resources/tests.wesnoth.org/autotester/path_settup.sh.template?rev=28708&view=auto
==============================================================================
--- branches/resources/tests.wesnoth.org/autotester/path_settup.sh.template
(original)
+++ branches/resources/tests.wesnoth.org/autotester/path_settup.sh.template
(removed)
@@ -1,19 +1,0 @@
-# This file is loaded by all unit test scripts to settup correct worknig paths
-#/*
-# Copyright (C) 2008 by Pauli Nieminen <[EMAIL PROTECTED]>
-# 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"
-
Modified: branches/resources/tests.wesnoth.org/autotester/run_unit_tests.sh
URL:
http://svn.gna.org/viewcvs/wesnoth/branches/resources/tests.wesnoth.org/autotester/run_unit_tests.sh?rev=28709&r1=28708&r2=28709&view=diff
==============================================================================
--- branches/resources/tests.wesnoth.org/autotester/run_unit_tests.sh (original)
+++ branches/resources/tests.wesnoth.org/autotester/run_unit_tests.sh Mon Aug
18 16:52:00 2008
@@ -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
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits