|
|
@ -57,14 +57,14 @@ cd t/selenium
|
|
|
|
|
|
|
|
|
|
|
|
if [ "${OUTPUT_TYPE:-}" = "junit" ] ; then
|
|
|
|
if [ "${OUTPUT_TYPE:-}" = "junit" ] ; then
|
|
|
|
#Change thread count here and in nose2cfg/jenkinstest.cfg
|
|
|
|
#Change thread count here and in nose2cfg/jenkinstest.cfg
|
|
|
|
export THREADS=1
|
|
|
|
export THREADS=2
|
|
|
|
export JENKINS=1
|
|
|
|
export JENKINS=1
|
|
|
|
python3 testrun.py -v -c nose2cfg/jenkinstest.cfg | \
|
|
|
|
python3 testrun.py -v -c nose2cfg/jenkinstest.cfg | \
|
|
|
|
tee -a "${OUTPUT_DIRECTORY}/selenium.xml"
|
|
|
|
tee -a "${OUTPUT_DIRECTORY}/selenium.xml"
|
|
|
|
RC="${PIPESTATUS[0]}"
|
|
|
|
RC="${PIPESTATUS[0]}"
|
|
|
|
else
|
|
|
|
else
|
|
|
|
#Change thread count here and in nose2cfg/localtest.cfg
|
|
|
|
#Change thread count here and in nose2cfg/localtest.cfg
|
|
|
|
export THREADS=2
|
|
|
|
export THREADS=1
|
|
|
|
python3 testrun.py -v -c nose2cfg/localtest.cfg|| RC=$?
|
|
|
|
python3 testrun.py -v -c nose2cfg/localtest.cfg|| RC=$?
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|