From 645a99bedd6effe2f4a51f57978cf61ad51b3ada Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Sat, 30 May 2020 14:19:55 +0200 Subject: [PATCH] Disable curl test during bootstrap only --- cmake.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 || :