BUG: Report failed as failed...

This commit is contained in:
Andy Cedilnik 2003-08-18 14:31:09 -04:00
parent 39c7cb9197
commit 26d804aaa4
2 changed files with 3 additions and 1 deletions

View File

@ -1713,7 +1713,6 @@ void cmCTest::ProcessDirectory(std::vector<std::string> &passed,
{
std::cerr << "Unable to find executable: " <<
args[1].Value.c_str() << "\n";
cres.m_Status = cmCTest::NOT_RUN;
m_TestResults.push_back( cres );
continue;
}
@ -1760,6 +1759,7 @@ void cmCTest::ProcessDirectory(std::vector<std::string> &passed,
}
else
{
cres.m_Status = cmCTest::FAILED;
if ( res == cmsysProcess_State_Expired )
{
fprintf(stderr,"***Timeout\n");
@ -2482,6 +2482,7 @@ const char* cmCTest::GetTestStatus(int status)
"INTERRUPT",
"NUMERICAL",
"OTHER_FAULT",
"Failed",
"BAD_COMMAND",
"Completed"
};

View File

@ -149,6 +149,7 @@ private:
INTERRUPT,
NUMERICAL,
OTHER_FAULT,
FAILED,
BAD_COMMAND,
COMPLETED
};