summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
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/cmCTest.cxx
parent54f3d4a07db3b6ee9239660b552b359646d210e9 (diff)
downloadCMake-0ca2c8f83e89216d790d709598a87fecb5600964.zip
CMake-0ca2c8f83e89216d790d709598a87fecb5600964.tar.gz
CMake-0ca2c8f83e89216d790d709598a87fecb5600964.tar.bz2
Add start
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r--Source/cmCTest.cxx6
1 files changed, 5 insertions, 1 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;