!4 disable test

Merge pull request !4 from 薄皮小笼包/master
This commit is contained in:
openeuler-ci-bot 2020-01-22 11:10:32 +08:00 committed by Gitee
commit 6efeb4c76d

View File

@ -10,7 +10,7 @@
Name: cmake
Version: 3.12.1
Release: 2
Release: 3
Summary: Cross-platform make system
License: BSD and MIT and zlib
URL: http://www.cmake.org
@ -172,9 +172,9 @@ find %{buildroot}%{_bindir} -type f -or -type l -or -xtype l | \
sed -e '/.*-gui$/d' -e '/^$/d' -e 's!^%{buildroot}!"!g' -e 's!$!"!g' >> lib_files.mf
%check
cd build
export NO_TEST="CMake.FileDownload|CTestTestUpload|curl|RunCMake.CPack_RPM"
bin/ctest -V -E "$NO_TEST" %{?_smp_mflags}
#cd build
#export NO_TEST="CMake.FileDownload|CTestTestUpload|curl|RunCMake.CPack_RPM"
#bin/ctest -V -E "$NO_TEST" %{?_smp_mflags}
%post gui
update-desktop-database &> /dev/null || :
@ -231,6 +231,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%exclude %{_pkgdocdir}/Copyright.txt
%changelog
* Wed Jan 22 2020 Yiru Wang <wangyiru1@huawei.com> - 3.12.1-3
- Disable test
* Fri Nov 29 2019 lijin Yang <yanglijin@huawei.com> - 3.12.1-2
- init package