summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestTestHandler.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-12-02 21:37:43 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-12-02 21:37:43 (GMT)
commit22c37b2b199e99aa15b6a17e71dc8999a49ba624 (patch)
tree59fe19562904a0f9d69a85dc88cac87bb1450b05 /Source/CTest/cmCTestTestHandler.cxx
parent4d72006bd6ba8c471236a9732ae4fd9cc9e90cfa (diff)
downloadCMake-22c37b2b199e99aa15b6a17e71dc8999a49ba624.zip
CMake-22c37b2b199e99aa15b6a17e71dc8999a49ba624.tar.gz
CMake-22c37b2b199e99aa15b6a17e71dc8999a49ba624.tar.bz2
Hanle the case where a test can not be run because it is a bad executable.
Diffstat (limited to 'Source/CTest/cmCTestTestHandler.cxx')
-rw-r--r--Source/CTest/cmCTestTestHandler.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx
index 4437c56..cbac272 100644
--- a/Source/CTest/cmCTestTestHandler.cxx
+++ b/Source/CTest/cmCTestTestHandler.cxx
@@ -689,13 +689,12 @@ void cmCTestTestHandler::PrintLabelSummary()
}
}
}
- it = this->TestList.begin();
ri = this->TestResults.begin();
// fill maps
- for(; it != this->TestList.end(); ++it, ++ri)
+ for(; ri != this->TestResults.end(); ++ri)
{
- cmCTestTestProperties& p = *it;
- cmCTestTestResult &result = *ri;
+ cmCTestTestResult &result = *ri;
+ cmCTestTestProperties& p = *result.Properties;
if(p.Labels.size() != 0)
{
for(std::vector<std::string>::iterator l = p.Labels.begin();