Move exit to the begining
This commit is contained in:
parent
8807b73707
commit
eff2380c6c
@ -62,6 +62,7 @@ rm pytest.ini
|
||||
%endif
|
||||
|
||||
%check
|
||||
exit 1
|
||||
export LANG=en_US.UTF-8
|
||||
# Tests that requires network
|
||||
donttest="webtest or url_https.spec"
|
||||
@ -69,7 +70,6 @@ donttest="webtest or url_https.spec"
|
||||
# the secure url exists
|
||||
donttest+=" or source_https or rpmpreamble.spec or replace_pwdutils.spec or mingw32-clutter.spec"
|
||||
python3 -m pytest -k "not ($donttest)" tests/*-tests.py
|
||||
exit 1
|
||||
|
||||
%install
|
||||
%if 0%{?mageia}
|
||||
|
Loading…
Reference in New Issue
Block a user