diff options
author | David Cole <david.cole@kitware.com> | 2012-06-24 05:33:32 -0400 |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2012-06-24 05:46:55 -0400 |
commit | 24ba0fd078ca1db13cdbeb51e531b0fce53f3f3f (patch) | |
tree | 910a7aae614c8f3a596e14a5c7f7ce729dbcc1b0 /Source/cmCTest.h | |
parent | 03022877399735b930ae44f1fd2d19d64e4a8a2f (diff) | |
download | cmake-24ba0fd078ca1db13cdbeb51e531b0fce53f3f3f.tar.gz |
CTest: Refactor error output into ErrorMessageUnknownDashDValue
No behavior change. Prep work for defining script variables by
extending -D command line handling to recognize var:type=value syntax.
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r-- | Source/cmCTest.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h index 7c71b00ea7..68811f8d9b 100644 --- a/Source/cmCTest.h +++ b/Source/cmCTest.h @@ -417,6 +417,7 @@ public: bool GetLabelSummary() { return this->LabelSummary;} std::string GetCostDataFile(); + private: std::string ConfigType; std::string ScheduleType; @@ -516,6 +517,9 @@ private: //! parse the option after -D and convert it into the appropriate steps bool AddTestsForDashboardType(std::string &targ); + //! read as "emit an error message for an unknown -D value" + void ErrorMessageUnknownDashDValue(std::string &val); + //! parse and process most common command line arguments void HandleCommandLineArguments(size_t &i, std::vector<std::string> &args); |