Generate two different nosetests.xml files.

Change-Id: I80f0a3461640bfb5298f19b78bd8d74f4ce85f7e
This commit is contained in:
Monty Taylor 2012-06-08 19:20:39 -04:00
parent 5cfbf304cc
commit 2bae084412

View File

@ -272,6 +272,7 @@ function run_tests {
sanity_check
echo "Running Horizon application tests"
export NOSE_XUNIT_FILE=horizon/nosetests.xml
${command_wrapper} coverage erase
${command_wrapper} coverage run -p $root/manage.py test horizon --settings=horizon.tests.testsettings $testargs
# get results of the Horizon tests
@ -281,6 +282,7 @@ function run_tests {
if [ $selenium -eq 1 ]; then
export WITH_SELENIUM=1
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
# get results of the openstack_dashboard tests
DASHBOARD_RESULT=$?