From eb8a2256893fa57d2c251a84b2b9381779ad42ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Fri, 13 Jan 2023 14:14:54 +0100 Subject: [PATCH] CI: Adjust %toxenv tests for tox 4 Related: rhbz#2168193 --- tests/python-setuptools_scm.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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