Fix output to xml
This commit is contained in:
parent
8830de82d9
commit
dfdb252dbd
|
@ -210,11 +210,17 @@ fi
|
|||
|
||||
pushd "${CARLA_PYTHONAPI_ROOT_FOLDER}/test" >/dev/null
|
||||
|
||||
if ${XML_OUTPUT} ; then
|
||||
EXTRA_ARGS="-c smoke/unittest.cfg -X"
|
||||
else
|
||||
EXTRA_ARGS=
|
||||
fi
|
||||
|
||||
if ${SMOKE_TESTS} ; then
|
||||
smoke_list=`cat smoke_test_list.txt`
|
||||
for PY_VERSION in ${PY_VERSION_LIST[@]} ; do
|
||||
log "Running smoke tests for Python ${PY_VERSION}."
|
||||
/usr/bin/env python${PY_VERSION} -m nose2 -v ${smoke_list}
|
||||
/usr/bin/env python${PY_VERSION} -m nose2 -v ${EXTRA_ARGS} ${smoke_list}
|
||||
done
|
||||
|
||||
if ${XML_OUTPUT} ; then
|
||||
|
|
Loading…
Reference in New Issue