Use stestr-3 when it's available
python3-stestr provides stestr-3, With switch to fedora it would be installed and used. Change-Id: Ib9f23e592105d08281f400827416e6f126935b1d
This commit is contained in:
@@ -351,7 +351,11 @@ set -e
|
|||||||
if [ -d .testrepository ]; then
|
if [ -d .testrepository ]; then
|
||||||
testr last --subunit > /tmp/openstack/tempest/testrepository.subunit
|
testr last --subunit > /tmp/openstack/tempest/testrepository.subunit
|
||||||
elif [ -d .stestr ]; then
|
elif [ -d .stestr ]; then
|
||||||
stestr last --subunit > /tmp/openstack/tempest/testrepository.subunit
|
if type "stestr-3" 2>/dev/null; then
|
||||||
|
stestr-3 last --subunit > /tmp/openstack/tempest/testrepository.subunit
|
||||||
|
else
|
||||||
|
stestr last --subunit > /tmp/openstack/tempest/testrepository.subunit
|
||||||
|
fi
|
||||||
fi
|
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)'
|
||||||
|
Reference in New Issue
Block a user