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:
parent
03ad76b739
commit
a6100acaa8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue