summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-03-19 21:35:02 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-03-19 21:35:02 (GMT)
commit0ca2c8f83e89216d790d709598a87fecb5600964 (patch)
treea73e36430ff7552feccfdf598cca43354fa36a6d /Source
parent54f3d4a07db3b6ee9239660b552b359646d210e9 (diff)
downloadCMake-0ca2c8f83e89216d790d709598a87fecb5600964.zip
CMake-0ca2c8f83e89216d790d709598a87fecb5600964.tar.gz
CMake-0ca2c8f83e89216d790d709598a87fecb5600964.tar.bz2
Add start
Diffstat (limited to 'Source')
-rw-r--r--Source/cmCTest.cxx6
-rw-r--r--Source/cmCTest.h17
2 files changed, 14 insertions, 9 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 5769482..5350fc9 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -310,7 +310,7 @@ void cmCTest::Initialize()
}
}
- if ( tag.size() == 0 )
+ if ( tag.size() == 0 || m_Tests[cmCTest::START_TEST] || m_Tests[ALL_TEST])
{
#ifdef HAVE_CURL
//std::cout << "TestModel: " << this->GetTestModelString() << std::endl;
@@ -346,6 +346,10 @@ bool cmCTest::SetTest(const char* ttype)
{
m_Tests[cmCTest::ALL_TEST] = 1;
}
+ else if ( cmSystemTools::LowerCase(ttype) == "start" )
+ {
+ m_Tests[cmCTest::START_TEST] = 1;
+ }
else if ( cmSystemTools::LowerCase(ttype) == "update" )
{
m_Tests[cmCTest::UPDATE_TEST] = 1;
diff --git a/Source/cmCTest.h b/Source/cmCTest.h
index d9ed285..7f81aea 100644
--- a/Source/cmCTest.h
+++ b/Source/cmCTest.h
@@ -130,14 +130,15 @@ private:
enum {
FIRST_TEST = 0,
UPDATE_TEST = 1,
- CONFIGURE_TEST = 2,
- BUILD_TEST = 3,
- TEST_TEST = 4,
- COVERAGE_TEST = 5,
- PURIFY_TEST = 6,
- SUBMIT_TEST = 7,
- ALL_TEST = 8,
- LAST_TEST = 9
+ START_TEST = 2,
+ CONFIGURE_TEST = 3,
+ BUILD_TEST = 4,
+ TEST_TEST = 5,
+ COVERAGE_TEST = 6,
+ PURIFY_TEST = 7,
+ SUBMIT_TEST = 8,
+ ALL_TEST = 9,
+ LAST_TEST = 10
};
struct cmCTestTestResult