[cmake-commits] martink committed cmSetTestsPropertiesCommand.cxx 1.5
1.6
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Dec 7 16:31:58 EST 2006
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv26289
Modified Files:
cmSetTestsPropertiesCommand.cxx
Log Message:
BUG: fix bad comparison
Index: cmSetTestsPropertiesCommand.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmSetTestsPropertiesCommand.cxx,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- cmSetTestsPropertiesCommand.cxx 7 Dec 2006 20:23:22 -0000 1.5
+++ cmSetTestsPropertiesCommand.cxx 7 Dec 2006 21:31:56 -0000 1.6
@@ -109,7 +109,7 @@
for ( it = tests.begin(); it != tests.end(); ++ it )
{
cmTest* test = *it;
- if ( test->GetName() == tname )
+ if ( !strcmp(test->GetName(),tname ))
{
// now loop through all the props and set them
for (k = 0; k < propertyPairs.size(); k = k + 2)
More information about the Cmake-commits
mailing list