From a0dcf332ee3ffcf25ce76755895a69e422ed0c0f Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Thu, 19 Sep 2024 23:19:19 -0400 Subject: [PATCH] Assure that network-dependent tests are not run mock builds do not have network access, and any automatic detection in the test environment is not consistently reliable. --- cmake.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake.spec b/cmake.spec index 2c06fad..1277e2d 100644 --- a/cmake.spec +++ b/cmake.spec @@ -346,7 +346,8 @@ $SRCDIR/bootstrap --prefix=%{_prefix} \ -DCMAKE_CXX_FLAGS_RELEASE:STRING="-O2 -g -DNDEBUG" \ -DCMAKE_Fortran_FLAGS_RELEASE:STRING="-O2 -g -DNDEBUG" \ -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \ - -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF + -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF \ + -DCMake_TEST_NO_NETWORK:BOOL=ON popd %make_build -C %{_vpath_builddir}