diff --git a/cmake.spec b/cmake.spec index 201eb90..7aaa1c3 100644 --- a/cmake.spec +++ b/cmake.spec @@ -414,13 +414,17 @@ find %{buildroot}%{_bindir} -type f -or -type l -or -xtype l | \ mv -f Modules/FindLibArchive.cmake Modules/FindLibArchive.disabled %endif pushd %{_vpath_builddir} -# CTestTestUpload, curl require internet access +# CTestTestUpload require internet access # CPackComponentsForAll-RPM-IgnoreGroup failing wih rpm 4.15 - https://gitlab.kitware.com/cmake/cmake/issues/19983 -NO_TEST="CTestTestUpload|CPackComponentsForAll-RPM-IgnoreGroup|curl" +NO_TEST="CTestTestUpload|CPackComponentsForAll-RPM-IgnoreGroup" # kwsys.testProcess-{4,5} are flaky on s390x. %ifarch s390x NO_TEST="$NO_TEST|kwsys.testProcess-4|kwsys.testProcess-5" %endif +# curl test may fail during bootstrap +%if %{with bootstrap} +NO_TEST="$NO_TEST|curl" +%endif bin/ctest%{?name_suffix} %{?_smp_mflags} -V -E "$NO_TEST" --output-on-failure # Keep an eye on failing tests bin/ctest%{?name_suffix} %{?_smp_mflags} -V -R "$NO_TEST" --output-on-failure || :