mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-21 00:02:17 +02:00
add debug mode as param + use params in phpunit.sh
This commit is contained in:
@@ -3,6 +3,17 @@ set -x
|
||||
|
||||
cd test
|
||||
|
||||
export DEBUG_UNIT_TEST="0"
|
||||
export DEBUG_UNIT_TEST=0
|
||||
RUN_NONREG_TESTS=0
|
||||
|
||||
php vendor/bin/phpunit --log-junit ../var/test/phpunit-log.junit.xml --teamcity
|
||||
if [ $# -ge 1 ]
|
||||
then
|
||||
export DEBUG_UNIT_TEST=$1
|
||||
fi
|
||||
|
||||
if [ $# -ge 2 ]
|
||||
then
|
||||
RUN_NONREG_TESTS=$2
|
||||
fi
|
||||
|
||||
#php vendor/bin/phpunit --log-junit ../var/test/phpunit-log.junit.xml --teamcity
|
||||
Reference in New Issue
Block a user