14
0

- Fix launch of memcached for tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymemcache?expand=0&rev=36
This commit is contained in:
2022-12-07 13:33:44 +00:00
committed by Git OBS Bridge
parent 2575578270
commit 9ba6a2bdda
2 changed files with 10 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Dec 7 13:33:02 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
- Fix launch of memcached for tests
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 7 13:11:08 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com> Wed Dec 7 13:11:08 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -71,7 +71,11 @@ sed -i 's/tool:pytest/tool:ignore-pytest-cov/' setup.cfg
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
%{_sbindir}/memcached & if [ -f %{_sbindir}/memcached ]; then
%{_sbindir}/memcached &
elif [ -f %{_bindir}/memcached ]; then
%{_bindir}/memcached &
fi
cat << EOF > pytest.ini cat << EOF > pytest.ini
[pytest] [pytest]