| 883 | } |
| 884 | |
| 885 | int cmCTest::GetTestModelFromString(std::string const& str) |
| 886 | { |
| 887 | if (str.empty()) { |
| 888 | return cmCTest::EXPERIMENTAL; |
| 889 | } |
| 890 | std::string rstr = cmSystemTools::LowerCase(str); |
| 891 | if (cmHasLiteralPrefix(rstr, "cont")) { |
| 892 | return cmCTest::CONTINUOUS; |
| 893 | } |
| 894 | if (cmHasLiteralPrefix(rstr, "nigh")) { |
| 895 | return cmCTest::NIGHTLY; |
| 896 | } |
| 897 | return cmCTest::EXPERIMENTAL; |
| 898 | } |
| 899 | |
| 900 | bool cmCTest::RunMakeCommand(std::string const& command, std::string& output, |
| 901 | int* retVal, char const* dir, cmDuration timeout, |
nothing calls this directly
no test coverage detected