diff options
author | Ken Martin <ken.martin@kitware.com> | 2004-05-26 19:27:38 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2004-05-26 19:27:38 (GMT) |
commit | 757cec6caac09f477330f8498bb692ecc17cde66 (patch) | |
tree | 42eb0dfacdc855943f727e5b41be3520a8bfd6c5 | |
parent | e67ffe8527f2333039df226927131b73b01407da (diff) | |
download | CMake-757cec6caac09f477330f8498bb692ecc17cde66.zip CMake-757cec6caac09f477330f8498bb692ecc17cde66.tar.gz CMake-757cec6caac09f477330f8498bb692ecc17cde66.tar.bz2 |
added another error string and change the -I option some
-rw-r--r-- | Source/cmCTest.cxx | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index 605ed10..4fc5e96 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -134,6 +134,7 @@ static const char* cmCTestErrorMatches[] = { ": syntax error ", "^collect2: ld returned 1 exit status", "Unsatisfied symbols:", + "^Unresolved:", "Undefined symbols:", "^Undefined[ \\t]+first referenced", "^CMake Error:", @@ -5192,16 +5193,14 @@ void cmCTest::ExpandTestsToRunInformation(int numTests) } } - // if start and specific tests are not specified then we assume we start at - // 1 - if(start == -1 && !m_TestsToRun.size()) + // if start is not specified then we assume we start at 1 + if(start == -1) { start = 1; } - // if end and specific tests are not specified then we assume we end with - // the last test - if(end == -1 && !m_TestsToRun.size()) + // if end isnot specified then we assume we end with the last test + if(end == -1) { end = numTests; } |