summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-18 18:31:09 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-18 18:31:09 (GMT)
commit26d804aaa4be5c432fc91fbb5811ba6a9d27c55a (patch)
tree80c8d0e8043a63b34e1d0dd499952a16d9aa8c39 /Source
parent39c7cb91974ea7462e4acf05d769ec4d30f9464b (diff)
downloadCMake-26d804aaa4be5c432fc91fbb5811ba6a9d27c55a.zip
CMake-26d804aaa4be5c432fc91fbb5811ba6a9d27c55a.tar.gz
CMake-26d804aaa4be5c432fc91fbb5811ba6a9d27c55a.tar.bz2
BUG: Report failed as failed...
Diffstat (limited to 'Source')
-rw-r--r--Source/cmCTest.cxx3
-rw-r--r--Source/cmCTest.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 1769af8..6beaa59 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -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"
};
diff --git a/Source/cmCTest.h b/Source/cmCTest.h
index dd7bdde..44b15dc 100644
--- a/Source/cmCTest.h
+++ b/Source/cmCTest.h
@@ -149,6 +149,7 @@ private:
INTERRUPT,
NUMERICAL,
OTHER_FAULT,
+ FAILED,
BAD_COMMAND,
COMPLETED
};