SHA256
3
0
forked from pool/cmake
OBS User unknown 2008-05-09 19:45:51 +00:00 committed by Git OBS Bridge
parent 4a9bf3bc18
commit 76c470e531
3 changed files with 23 additions and 1 deletions

View File

@ -0,0 +1,13 @@
Subject: Fix CTest coverage xml generation.
Bugzilla: http://public.kitware.com/Bug/view.php?id=6988
--- Source/CTest/cmCTestCoverageHandler.cxx
+++ Source/CTest/cmCTestCoverageHandler.cxx
@@ -538,7 +538,7 @@ int cmCTestCoverageHandler::ProcessHandl
covSumFile << "\t<File Name=\"" << this->CTest->MakeXMLSafe(fileName)
<< "\" FullPath=\"" << this->CTest->MakeXMLSafe(
this->CTest->GetShortPathToFile(fullFileName.c_str()))
- << "\" Covered=\"" << (tested==0?"true":"false") << "\">\n"
+ << "\" Covered=\"" << (tested > 0?"true":"false") << "\">\n"
<< "\t\t<LOCTested>" << tested << "</LOCTested>\n"
<< "\t\t<LOCUnTested>" << untested << "</LOCUnTested>\n"
<< "\t\t<PercentCoverage>";

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 9 10:11:57 CEST 2008 - dmueller@suse.de
- fix ctest reporting (kitware#6988), patch by Andreas Schneider
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 6 22:48:24 CEST 2008 - dmueller@suse.de Tue May 6 22:48:24 CEST 2008 - dmueller@suse.de

View File

@ -13,7 +13,7 @@
Name: cmake Name: cmake
Version: 2.6.0 Version: 2.6.0
Release: 7 Release: 9
License: BSD 3-Clause License: BSD 3-Clause
Group: Development/Tools/Building Group: Development/Tools/Building
%define tar_version 2.6.0 %define tar_version 2.6.0
@ -35,6 +35,7 @@ Patch0: cmake-2.6.0-use_intree_xmlrpc.patch
Patch1: cmake-2.4.7-less_verbosity.patch Patch1: cmake-2.4.7-less_verbosity.patch
Patch2: cmake-2.6.0-use_shared_python_lib.patch Patch2: cmake-2.6.0-use_shared_python_lib.patch
Patch4: cmake-disable-builtin-chrpath.diff Patch4: cmake-disable-builtin-chrpath.diff
Patch5: cmake-2.6.0-fix_ctest_coverage.patch
Summary: Cross-platform, open-source make system Summary: Cross-platform, open-source make system
Requires: make Requires: make
@ -69,6 +70,7 @@ Authors:
#%patch1 #%patch1
%patch2 %patch2
%patch4 %patch4
%patch5
%build %build
export CXXFLAGS="$RPM_OPT_FLAGS" export CXXFLAGS="$RPM_OPT_FLAGS"
@ -119,6 +121,8 @@ rm -rf %{buildroot}
/usr/share/pixmaps/CMakeSetup.png /usr/share/pixmaps/CMakeSetup.png
%changelog %changelog
* Fri May 09 2008 dmueller@suse.de
- fix ctest reporting (kitware#6988), patch by Andreas Schneider
* Wed May 07 2008 dmueller@suse.de * Wed May 07 2008 dmueller@suse.de
- update to 2.6.0: - update to 2.6.0:
* Fix links in generated documentation * Fix links in generated documentation