| 238 | } |
| 239 | |
| 240 | TestConfiguration::ExtensionAutoLoadingMode TestConfiguration::GetExtensionAutoLoadingMode() { |
| 241 | string res = StringUtil::Lower(GetOptionOrDefault("autoloading", string("default"))); |
| 242 | if (res == "none" || res == "default") { |
| 243 | return TestConfiguration::ExtensionAutoLoadingMode::NONE; |
| 244 | } else if (res == "available") { |
| 245 | return TestConfiguration::ExtensionAutoLoadingMode::AVAILABLE; |
| 246 | } else if (res == "all") { |
| 247 | return TestConfiguration::ExtensionAutoLoadingMode::ALL; |
| 248 | } |
| 249 | throw std::runtime_error("Unknown autoloading mode"); |
| 250 | } |
| 251 | |
| 252 | bool TestConfiguration::ShouldSkipTest(const string &test_name) { |
| 253 | if (test_name.find('/') == 0) { |
no outgoing calls
no test coverage detected