| 851 | }; |
| 852 | |
| 853 | bool HasTestOption(const ArgsManager& args, const std::string& test_option) |
| 854 | { |
| 855 | const auto options = args.GetArgs("-test"); |
| 856 | return std::any_of(options.begin(), options.end(), [test_option](const auto& option) { |
| 857 | return option == test_option; |
| 858 | }); |
| 859 | } |
| 860 | |
| 861 | fs::path GetDefaultDataDir() |
| 862 | { |
no test coverage detected