Made the runtests.sh script work regardless of CWD
This commit is contained in:
parent
e0386f9752
commit
5b9ceb8d2d
1 changed files with 6 additions and 0 deletions
|
@ -27,5 +27,11 @@ export RABBITMQ_PASSWORD
|
|||
export RABBITMQ_VHOST
|
||||
|
||||
export AIRTIME_UNIT_TEST="1"
|
||||
|
||||
#Change the working directory to this script's directory
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
cd $DIR
|
||||
|
||||
#Run the unit tests
|
||||
phpunit --log-junit test_results.xml
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue