added another error string and change the -I option some

This commit is contained in:
Ken Martin 2004-05-26 15:27:38 -04:00
parent e67ffe8527
commit 757cec6caa
1 changed files with 5 additions and 6 deletions

View File

@ -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;
}