mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-21 00:02:17 +02:00
!y# This is a combination of 4 commits.
run OQL tests depending on jenkins param try sth try sth try sth try sth try sth fix parameter to run OQL tests or not run OQL tests depending on jenkins param try sth try sth try sth try sth try sth fix parameter to run OQL tests or not
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
set -x
|
||||
|
||||
|
||||
|
||||
whoami
|
||||
pwd
|
||||
ls
|
||||
|
||||
@@ -6,14 +6,16 @@ cd test
|
||||
export DEBUG_UNIT_TEST=0
|
||||
RUN_NONREG_TESTS=0
|
||||
|
||||
if [ $# -ge 1 ]
|
||||
if [ $# -ge 1 -a "x$1" == "xtrue" ]
|
||||
then
|
||||
export DEBUG_UNIT_TEST=$1
|
||||
export DEBUG_UNIT_TEST=1
|
||||
else
|
||||
export DEBUG_UNIT_TEST=0
|
||||
fi
|
||||
|
||||
if [ $# -ge 2 ]
|
||||
if [ $# -ge 2 -a "x$2" == "xtrue" ]
|
||||
then
|
||||
RUN_NONREG_TESTS=$2
|
||||
echo php vendor/bin/phpunit --log-junit ../var/test/phpunit-log.junit.xml --teamcity
|
||||
else
|
||||
echo php vendor/bin/phpunit --log-junit ../var/test/phpunit-log.junit.xml --exclude-group OQL --teamcity
|
||||
fi
|
||||
|
||||
#php vendor/bin/phpunit --log-junit ../var/test/phpunit-log.junit.xml --teamcity
|
||||
Reference in New Issue
Block a user