Add start

This commit is contained in:
Andy Cedilnik 2003-03-19 16:35:02 -05:00
parent 54f3d4a07d
commit 0ca2c8f83e
2 changed files with 14 additions and 9 deletions

View File

@ -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;

View File

@ -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