Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 25 lines (18 sloc) 344 Bytes
#!/bin/bash
CD=`pwd`;
WD="`/usr/bin/dirname $0`/../../";
echo "Changing to working directory: $WD";
cd $WD;
if [ -z $1 ]; then
TARGET="";
else
TARGET="$1";
fi
if [ -z $2 ]; then
FILTER="";
else
FILTER="--filter $2";
fi
REALPATH="$CD/$TARGET";
echo "Testing: $REALPATH $FILTER";
phpunit -c MindFrame2/phpunit.xml $FILTER $REALPATH;