mail[Wesnoth-commits] r28394 - /trunk/utils/tests/autotester/run_unit_tests.sh


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by paniemin on August 08, 2008 - 22:29:
Author: suokko
Date: Fri Aug  8 22:29:20 2008
New Revision: 28394

URL: http://svn.gna.org/viewcvs/wesnoth?rev=28394&view=rev
Log:
Made run_unit_test.sh work with any cwd

Modified:
    trunk/utils/tests/autotester/run_unit_tests.sh

Modified: trunk/utils/tests/autotester/run_unit_tests.sh
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/utils/tests/autotester/run_unit_tests.sh?rev=28394&r1=28393&r2=28394&view=diff
==============================================================================
--- trunk/utils/tests/autotester/run_unit_tests.sh (original)
+++ trunk/utils/tests/autotester/run_unit_tests.sh Fri Aug  8 22:29:20 2008
@@ -1,6 +1,6 @@
 #!/bin/bash
-
-source path_settup.sh
+FULL_PATH=`dirname $(readlink -f $0)`
+source $FULL_PATH/path_settup.sh
 
 cd $SVNDIR
 nice php -f ${AUTOTESTDIR}/run_unit_tests.php $WEBDIR




Related Messages


Powered by MHonArc, Updated Fri Aug 08 22:41:30 2008