Commit 0ca2c8f8 authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

Add start

parent 54f3d4a0
...@@ -310,7 +310,7 @@ void cmCTest::Initialize() ...@@ -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 #ifdef HAVE_CURL
//std::cout << "TestModel: " << this->GetTestModelString() << std::endl; //std::cout << "TestModel: " << this->GetTestModelString() << std::endl;
...@@ -346,6 +346,10 @@ bool cmCTest::SetTest(const char* ttype) ...@@ -346,6 +346,10 @@ bool cmCTest::SetTest(const char* ttype)
{ {
m_Tests[cmCTest::ALL_TEST] = 1; m_Tests[cmCTest::ALL_TEST] = 1;
} }
else if ( cmSystemTools::LowerCase(ttype) == "start" )
{
m_Tests[cmCTest::START_TEST] = 1;
}
else if ( cmSystemTools::LowerCase(ttype) == "update" ) else if ( cmSystemTools::LowerCase(ttype) == "update" )
{ {
m_Tests[cmCTest::UPDATE_TEST] = 1; m_Tests[cmCTest::UPDATE_TEST] = 1;
......
...@@ -130,14 +130,15 @@ private: ...@@ -130,14 +130,15 @@ private:
enum { enum {
FIRST_TEST = 0, FIRST_TEST = 0,
UPDATE_TEST = 1, UPDATE_TEST = 1,
CONFIGURE_TEST = 2, START_TEST = 2,
BUILD_TEST = 3, CONFIGURE_TEST = 3,
TEST_TEST = 4, BUILD_TEST = 4,
COVERAGE_TEST = 5, TEST_TEST = 5,
PURIFY_TEST = 6, COVERAGE_TEST = 6,
SUBMIT_TEST = 7, PURIFY_TEST = 7,
ALL_TEST = 8, SUBMIT_TEST = 8,
LAST_TEST = 9 ALL_TEST = 9,
LAST_TEST = 10
}; };
struct cmCTestTestResult struct cmCTestTestResult
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment