mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-29 19:02:00 +00:00
Made unit test runner detect paths automatically
This commit is contained in:
parent
afaba69c56
commit
eafbb24f8b
@ -1,19 +0,0 @@
|
||||
# This file is loaded by all unit test scripts to settup correct worknig paths
|
||||
#/*
|
||||
# Copyright (C) 2008 by Pauli Nieminen <paniemin@cc.hut.fi>
|
||||
# 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"
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user