| 57 | } |
| 58 | |
| 59 | char const* TypeToCommandKey(int type) |
| 60 | { |
| 61 | // clang-format off |
| 62 | switch (type) { |
| 63 | case e_CVS: return "CTEST_CVS_COMMAND"; |
| 64 | case e_SVN: return "CTEST_SVN_COMMAND"; |
| 65 | case e_BZR: return "CTEST_BZR_COMMAND"; |
| 66 | case e_GIT: return "CTEST_GIT_COMMAND"; |
| 67 | case e_HG: return "CTEST_HG_COMMAND"; |
| 68 | case e_P4: return "CTEST_P4_COMMAND"; |
| 69 | default: return nullptr; |
| 70 | } |
| 71 | // clang-format on |
| 72 | } |
| 73 | |
| 74 | int DetermineType(std::string const& cmd) |
| 75 | { |
no outgoing calls
no test coverage detected
searching dependent graphs…