| 269 | } |
| 270 | |
| 271 | bool HandleTestDirectoryScopeValidation(cmExecutionStatus& status, |
| 272 | bool test_directory_option_enabled, |
| 273 | std::string& test_directory) |
| 274 | { |
| 275 | // Validate source file directory scopes. |
| 276 | if (test_directory_option_enabled && test_directory.empty()) { |
| 277 | std::string errors = "called with incorrect number of arguments " |
| 278 | "no value provided to the DIRECTORY option"; |
| 279 | status.SetError(errors); |
| 280 | return false; |
| 281 | } |
| 282 | return true; |
| 283 | } |
| 284 | |
| 285 | bool HandleAndValidateTestDirectoryScopes(cmExecutionStatus& status, |
| 286 | bool test_directory_option_enabled, |
no test coverage detected
searching dependent graphs…