Add timeout and verbosity to tests

In case any test hangs, ensure it would release builder.
Increase verbosity to know more about possible failures. Interactive
debugging is not possible on builders.
This commit is contained in:
Petr Menšík
2021-11-12 21:05:08 +01:00
parent 0e9ffbc66d
commit b7c6e022d4

View File

@@ -300,7 +300,9 @@ install -D -m 0644 %{SOURCE1} %{buildroot}/%{_tmpfilesdir}/strongswan-starter.co
%check
%if %{with check}
%make_build -j1 check
# Seen some tests hang. Ensure we do not block builder forever
export TESTS_VERBOSITY=1
timeout 600 %make_build check
%endif
%if %{with python}
pushd src/libcharon/plugins/vici