convert more users to %{openstack_stestr_run}

Change-Id: Iacba1d08616dc52d7439785efec9aa8055c82f55
This commit is contained in:
Dirk Müller
2023-02-17 00:50:27 +01:00
parent 70c65e3d96
commit a4d2c1608a
14 changed files with 14 additions and 14 deletions

View File

@@ -62,7 +62,7 @@ PBR_VERSION={{ upstream_version }} %sphinx_build -b html doc/source doc/build/ht
rm -rf doc/build/html/.{doctrees,buildinfo}
%check
%{__python3} -m stestr.cli run
%{openstack_stestr_run}
%install
%py3_install

View File

@@ -155,7 +155,7 @@ rm -rf %{buildroot}%{_prefix}%{_sysconfdir}/
%check
# we don't want to check hacking rules
rm masakari/tests/unit/test_hacking.py
%{__python3} -m stestr.cli run
%{openstack_stestr_run}
%post api
%systemd_post openstack-masakari-api.service

View File

@@ -188,7 +188,7 @@ chmod +x %{buildroot}%{_bindir}/mistral*
%check
# we don't want hacking/pep8 tests
rm -r mistral/tests/unit/hacking/
%{__python3} -m stestr.cli run
%{openstack_stestr_run}
%post
%tmpfiles_create %{_tmpfilesdir}/%{name}.conf

View File

@@ -125,7 +125,7 @@ ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
# NOTE: RDO currenty does not have python-jira in the CI
# NOTE: SUSE fails on a weird mock issue
%if 0
%{__python3} -m stestr.cli run
%{openstack_stestr_run}
%endif
%pre

View File

@@ -211,7 +211,7 @@ install -p -D -m 644 doc/build/man/*.1 %{buildroot}%{_mandir}/man1/
%check
# don't want to depend on hacking for package building
rm murano/tests/unit/test_hacking.py
%{__python3} -m stestr.cli run
%{openstack_stestr_run}
%pre
%openstack_pre_user_group_create murano murano /sbin/nologin

View File

@@ -76,7 +76,7 @@ rm -rf doc/build/html/.{doctrees,buildinfo}
%fdupes %{buildroot}%{python3_sitelib}
%check
%{__python3} -m stestr.cli run
%{openstack_stestr_run}
%files
%license LICENSE

View File

@@ -49,7 +49,7 @@ developers.
%check
# we don't want to depend on hacking
rm -rf octavia_lib/tests/unit/hacking
python3 -m stestr.cli run
%{openstack_stestr_run}
%files
%license LICENSE

View File

@@ -70,7 +70,7 @@ rm -rf doc/build/html/.{doctrees,buildinfo}
%check
export PYTHONPATH=.
python3 -m stestr.cli run
%{openstack_stestr_run}
%files -n {{ py2name(py_versions='py3') }}
%doc README.rst

View File

@@ -68,7 +68,7 @@ rm -rf doc/build/html/.{doctrees,buildinfo}
%py3_install
%check
%{__python3} -m stestr.cli run
%{openstack_stestr_run}
%files
%doc README.rst

View File

@@ -85,7 +85,7 @@ rm -r doc/build/html/.{doctrees,buildinfo}
%py3_install
%check
%{__python3} -m stestr.cli run
%{openstack_stestr_run}
%files -n python3-solumclient
%doc README.rst

View File

@@ -69,7 +69,7 @@ rm -rf doc/build/html/.{doctrees,buildinfo}
%{py3_install}
%check
%{__python3} -m stestr.cli run
%{openstack_stestr_run}
%files
%doc README.rst

View File

@@ -102,7 +102,7 @@ install -p -D -m 644 doc/build/man/python-tripleoclient.1 %{buildroot}%{_mandir}
%check
%{__python3} -m stestr.cli run
%{openstack_stestr_run}
%files
%doc README.rst

View File

@@ -217,7 +217,7 @@ rm sahara/tests/unit/utils/test_hacking.py
# TODO: undo after https://storyboard.openstack.org/#!/story/2007450
rm -v sahara/tests/unit/service/health/test_verification_base.py
%{__python3} -m stestr.cli run
%{openstack_stestr_run}
%pre
%openstack_pre_user_group_create sahara sahara /sbin/nologin

View File

@@ -103,7 +103,7 @@ rm -rf doc/build/html/.{doctrees,buildinfo}
%check
%{__python3} -m stestr.cli run
%{openstack_stestr_run}
%files
%doc README.rst ChangeLog