Add start
This commit is contained in:
parent
54f3d4a07d
commit
0ca2c8f83e
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue