This commit is contained in:
		| @@ -21,24 +21,24 @@ | |||||||
| */ | */ | ||||||
| #if defined(PROJECT_ENABLE_BACKWARD_CPP) | #if defined(PROJECT_ENABLE_BACKWARD_CPP) | ||||||
| #include "backward.hpp" | #include "backward.hpp" | ||||||
| #endif | #endif // defined(PROJECT_ENABLE_BACKWARD_CPP) | ||||||
|  |  | ||||||
| #include "initialize.hpp" | #include "initialize.hpp" | ||||||
| #include "test_common.hpp" | #include "test_common.hpp" | ||||||
| #if defined(_WIN32) | #if defined(_WIN32) | ||||||
| #include "utils/cli_utils.hpp" | #include "utils/cli_utils.hpp" | ||||||
| #endif // _WIN32 | #endif // defined(_WIN32) | ||||||
|  |  | ||||||
| using namespace repertory; | using namespace repertory; | ||||||
|  |  | ||||||
| #if defined(_WIN32) | #if defined(_WIN32) | ||||||
| std::size_t PROVIDER_INDEX{0U}; | std::size_t PROVIDER_INDEX{0U}; | ||||||
| #endif // _WIN32 | #endif // defined(_WIN32) | ||||||
|  |  | ||||||
| auto main(int argc, char **argv) -> int { | auto main(int argc, char **argv) -> int { | ||||||
| #if defined(PROJECT_ENABLE_BACKWARD_CPP) | #if defined(PROJECT_ENABLE_BACKWARD_CPP) | ||||||
|   static backward::SignalHandling sh; |   static backward::SignalHandling sh; | ||||||
| #endif | #endif // defined(PROJECT_ENABLE_BACKWARD_CPP) | ||||||
|  |  | ||||||
|   if (not repertory::project_initialize()) { |   if (not repertory::project_initialize()) { | ||||||
|     std::cerr << "fatal: failed to initialize repertory" << std::endl; |     std::cerr << "fatal: failed to initialize repertory" << std::endl; | ||||||
| @@ -58,7 +58,7 @@ auto main(int argc, char **argv) -> int { | |||||||
|             utils::cli::parse_option(args, "--provider_index", 1U)[0U]) + |             utils::cli::parse_option(args, "--provider_index", 1U)[0U]) + | ||||||
|         1U); |         1U); | ||||||
|   } |   } | ||||||
| #endif // _WIN32 | #endif // defined(_WIN32) | ||||||
|  |  | ||||||
|   ::testing::InitGoogleTest(&argc, argv); |   ::testing::InitGoogleTest(&argc, argv); | ||||||
|   auto ret = RUN_ALL_TESTS(); |   auto ret = RUN_ALL_TESTS(); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user