Disable linkcheck tests as they hit the network

This commit is contained in:
Toshio Kuratomi 2016-12-30 22:35:04 -08:00
parent 93a4ba510a
commit 2f352b47f7

View File

@ -480,9 +480,15 @@ done
%check
# Currently, all linkcheck tests hit external websites. Since network access
# is disabled in koji, we have to disable these.
rm tests/test_build_linkcheck.py
LANG=en_US.UTF-8 make test
%if 0%{?with_python3}
pushd %{py3dir}
# Currently, all linkcheck tests hit external websites. Since network access
# is disabled in koji, we have to disable these.
rm tests/test_build_linkcheck.py
LANG=en_US.UTF-8 PYTHON=python3 make test
popd
%endif # with_python3