BUG: if a test is not found, it should fail

This commit is contained in:
Bill Hoffman 2004-01-21 09:49:32 -05:00
parent 4d082d4215
commit 13753b89c2
1 changed files with 2 additions and 1 deletions

View File

@ -1862,7 +1862,8 @@ void cmCTest::ProcessDirectory(cmCTest::tm_VectorOfStrings &passed,
{
std::cerr << "Unable to find executable: " <<
args[1].Value.c_str() << "\n";
m_TestResults.push_back( cres );
m_TestResults.push_back( cres );
failed.push_back(args[0].Value);
continue;
}