Generate two different nosetests.xml files.
Change-Id: I80f0a3461640bfb5298f19b78bd8d74f4ce85f7e
This commit is contained in:
parent
5cfbf304cc
commit
2bae084412
@ -272,6 +272,7 @@ function run_tests {
|
|||||||
sanity_check
|
sanity_check
|
||||||
|
|
||||||
echo "Running Horizon application tests"
|
echo "Running Horizon application tests"
|
||||||
|
export NOSE_XUNIT_FILE=horizon/nosetests.xml
|
||||||
${command_wrapper} coverage erase
|
${command_wrapper} coverage erase
|
||||||
${command_wrapper} coverage run -p $root/manage.py test horizon --settings=horizon.tests.testsettings $testargs
|
${command_wrapper} coverage run -p $root/manage.py test horizon --settings=horizon.tests.testsettings $testargs
|
||||||
# get results of the Horizon tests
|
# get results of the Horizon tests
|
||||||
@ -281,6 +282,7 @@ function run_tests {
|
|||||||
if [ $selenium -eq 1 ]; then
|
if [ $selenium -eq 1 ]; then
|
||||||
export WITH_SELENIUM=1
|
export WITH_SELENIUM=1
|
||||||
fi
|
fi
|
||||||
|
export NOSE_XUNIT_FILE=openstack_dashboard/nosetests.xml
|
||||||
${command_wrapper} coverage run -p $root/manage.py test openstack_dashboard --settings=openstack_dashboard.test.settings $testargs
|
${command_wrapper} coverage run -p $root/manage.py test openstack_dashboard --settings=openstack_dashboard.test.settings $testargs
|
||||||
# get results of the openstack_dashboard tests
|
# get results of the openstack_dashboard tests
|
||||||
DASHBOARD_RESULT=$?
|
DASHBOARD_RESULT=$?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user