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.
This commit is contained in:
parent
8c9971820e
commit
a0dcf332ee
@ -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}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user