Pesky tests on EL7.
This commit is contained in:
parent
c226e8d6a9
commit
37fbb8959c
@ -175,7 +175,18 @@ popd
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
|
||||||
|
%if 0%{?rhel} && 0%{?rhel} <= 7
|
||||||
|
# Remove these to avoid py.test test collision.
|
||||||
|
rm -rf build/lib/tests/
|
||||||
|
# Remove these because django is weird on el7.
|
||||||
|
rm -rf tests/contrib/django_util
|
||||||
|
# Run the tests.
|
||||||
|
py.test
|
||||||
|
%else
|
||||||
|
# Everything is fine on Fedora...
|
||||||
tox -v --sitepackages -e py27
|
tox -v --sitepackages -e py27
|
||||||
|
%endif
|
||||||
|
|
||||||
%if %{with python3}
|
%if %{with python3}
|
||||||
pushd %{py3dir}
|
pushd %{py3dir}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user