From d311a522b7bd590f982755e40c82a4cb53e3f353 Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Jan 14 2023 22:57:54 +0000 Subject: CI: Adjust %toxenv tests for tox 4 --- diff --git a/tests/python-setuptools_scm.spec b/tests/python-setuptools_scm.spec index 7ecba7d..115d138 100644 --- a/tests/python-setuptools_scm.spec +++ b/tests/python-setuptools_scm.spec @@ -61,8 +61,8 @@ Summary: %{summary} %tox -- -- -k test_version | tee toxlog # Internal check for our macros: Assert both toxenvs were executed. -grep -F 'py%{python3_version_nodots}-test: commands succeeded' toxlog -%{?!with_flake8:! }grep -F 'flake8: commands succeeded' toxlog +grep -E 'py%{python3_version_nodots}-test: (OK|commands succeeded)' toxlog +%{?!with_flake8:! }grep -E 'flake8: (OK|commands succeeded)' toxlog # Internal check for our macros # making sure that %%{_pyproject_ghost_distinfo} has the right content