Merge "Switch to stestr for generating subunit results"
This commit is contained in:
commit
ff32f568f1
@ -250,7 +250,7 @@ $SUDO chown -R "$(id -u):$(id -g)" /tmp/openstack/tempest/
|
|||||||
# install from source now on ubuntu until packaged
|
# install from source now on ubuntu until packaged
|
||||||
if uses_debs; then
|
if uses_debs; then
|
||||||
cd /tmp/openstack/tempest-horizon; $SUDO python setup.py install
|
cd /tmp/openstack/tempest-horizon; $SUDO python setup.py install
|
||||||
$SUDO pip install -U testrepository os-testr
|
$SUDO pip install -U stestr os-testr
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set +e
|
set +e
|
||||||
@ -333,7 +333,11 @@ $tempest_binary run --whitelist_file=/tmp/openstack/tempest/test-whitelist.txt -
|
|||||||
RESULT=$?
|
RESULT=$?
|
||||||
set -e
|
set -e
|
||||||
$tempest_binary list-plugins
|
$tempest_binary list-plugins
|
||||||
testr last --subunit > /tmp/openstack/tempest/testrepository.subunit
|
if [ -d .testrepository ]; then
|
||||||
|
testr last --subunit > /tmp/openstack/tempest/testrepository.subunit
|
||||||
|
elif [ -d .stestr ]; then
|
||||||
|
stestr last --subunit > /tmp/openstack/tempest/testrepository.subunit
|
||||||
|
fi
|
||||||
subunit2html /tmp/openstack/tempest/testrepository.subunit /tmp/openstack/tempest/testr_results.html
|
subunit2html /tmp/openstack/tempest/testrepository.subunit /tmp/openstack/tempest/testr_results.html
|
||||||
print_header 'SELinux Alerts (Tempest)'
|
print_header 'SELinux Alerts (Tempest)'
|
||||||
catch_selinux_alerts
|
catch_selinux_alerts
|
||||||
|
Loading…
x
Reference in New Issue
Block a user