Learn more about these different git repos.
Other Git URLs
426f358
@@ -172,7 +172,7 @@
%check
- ./run_tests.sh
+ ./run_tests.sh -vv
%pre
getent group copr >/dev/null || groupadd -r copr
@@ -106,7 +106,7 @@
- %{__python} -m pytest tests
+ %{__python} -m pytest -vv tests
%files
@@ -91,7 +91,7 @@
%post
%systemd_post copr-dist-git.service
@@ -44,7 +44,7 @@
Name: copr-frontend
Version: 1.169
- Release: 1%{?dist}
+ Release: 0.1%{?dist}
Summary: Frontend for Copr
License: GPLv2+
@@ -289,7 +289,7 @@
%if %{with check}
%endif
@@ -120,8 +120,7 @@
cp -a docs/_build/html %{buildroot}%{_pkgdocdir}/
-
- PYTHONPATH=./src:$PYTHONPATH %{__python3} -B -m pytest --cov-report term-missing --cov ./src tests
+ PYTHONPATH=./src:$PYTHONPATH %{__python3} -B -m pytest -vv --cov-report term-missing --cov ./src tests
@@ -70,7 +70,7 @@
- ./runtests.sh
+ ./runtests.sh -vv
%files -n python3-%name
@@ -202,11 +202,11 @@
%if %{with python3}
- %{__python3} -m pytest copr/test
+ %{__python3} -m pytest -vv copr/test
%if %{with python2}
- %{__python2} -m pytest copr/test
+ %{__python2} -m pytest -vv copr/test
@@ -170,7 +170,7 @@
- PYTHON=%{python} ./run_tests.sh --no-coverage
+ PYTHON=%{python} ./run_tests.sh -vv --no-coverage
%build
It is sometimes hard to decode from the build-log what was the unittest failure. Let's use double-verbose mode which prints e.g. much more verbose assertion diffs, when some assert fails.
Also it's nice to see the verbose progress in live logs ... if some of the tasks hangs or takes too long for example, it is more obvious which one.
+1, I never run them locally without -v.
-v
Pull-Request has been merged by praiskup
It is sometimes hard to decode from the build-log what was the unittest
failure. Let's use double-verbose mode which prints e.g. much more
verbose assertion diffs, when some assert fails.