Move ordering of make after cd in runtests.sh

Jenkins called make from a different folder and didn't find
the makefile. It's moved now after the cd directive

refs #4258
This commit is contained in:
Jannis Moßhammer 2013-06-06 16:45:54 +02:00 committed by Eric Lippmann
parent 03ad76b739
commit a6100acaa8
1 changed files with 5 additions and 4 deletions

View File

@ -6,10 +6,6 @@ SCRIPTNAME=$(readlink -f $0)
DIR=$(dirname $SCRIPTNAME)
PHPUNIT=$(which phpunit)
if [[ ! -x ./bin/extcmd_test ]]; then
make
fi;
if [[ ! -x $PHPUNIT ]]; then
echo "PHPUnit not found!"
exit 1
@ -20,6 +16,11 @@ mkdir -p $DIR/../../build/log
cd $DIR
if [[ ! -x ./bin/extcmd_test ]]; then
make
fi;
$PHPUNIT "$@"
exit 0