diff --git a/repertory/repertory_test/main.cpp b/repertory/repertory_test/main.cpp index 05390ec5..c4b04dfb 100644 --- a/repertory/repertory_test/main.cpp +++ b/repertory/repertory_test/main.cpp @@ -25,16 +25,9 @@ #include "initialize.hpp" #include "test_common.hpp" -#if defined(_WIN32) -#include "utils/cli_utils.hpp" -#endif // defined(_WIN32) using namespace repertory; -#if defined(_WIN32) -std::size_t PROVIDER_INDEX{0U}; -#endif // defined(_WIN32) - auto main(int argc, char **argv) -> int { #if defined(PROJECT_ENABLE_BACKWARD_CPP) static backward::SignalHandling sh; @@ -45,21 +38,6 @@ auto main(int argc, char **argv) -> int { return -1; } -#if defined(_WIN32) - std::vector args; - { - auto args_span = std::span(argv, static_cast(argc)); - std::copy(args_span.begin(), args_span.end(), std::back_inserter(args)); - } - - if (utils::cli::has_option(args, "--provider_index")) { - PROVIDER_INDEX = static_cast( - utils::string::to_uint64( - utils::cli::parse_option(args, "--provider_index", 1U)[0U]) + - 1U); - } -#endif // defined(_WIN32) - ::testing::InitGoogleTest(&argc, argv); auto ret = RUN_ALL_TESTS();