This commit is contained in:
parent
5592c663a4
commit
fa0f648a0b
@ -21,24 +21,24 @@
|
||||
*/
|
||||
#if defined(PROJECT_ENABLE_BACKWARD_CPP)
|
||||
#include "backward.hpp"
|
||||
#endif
|
||||
#endif // defined(PROJECT_ENABLE_BACKWARD_CPP)
|
||||
|
||||
#include "initialize.hpp"
|
||||
#include "test_common.hpp"
|
||||
#if defined(_WIN32)
|
||||
#include "utils/cli_utils.hpp"
|
||||
#endif // _WIN32
|
||||
#endif // defined(_WIN32)
|
||||
|
||||
using namespace repertory;
|
||||
|
||||
#if defined(_WIN32)
|
||||
std::size_t PROVIDER_INDEX{0U};
|
||||
#endif // _WIN32
|
||||
#endif // defined(_WIN32)
|
||||
|
||||
auto main(int argc, char **argv) -> int {
|
||||
#if defined(PROJECT_ENABLE_BACKWARD_CPP)
|
||||
static backward::SignalHandling sh;
|
||||
#endif
|
||||
#endif // defined(PROJECT_ENABLE_BACKWARD_CPP)
|
||||
|
||||
if (not repertory::project_initialize()) {
|
||||
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]) +
|
||||
1U);
|
||||
}
|
||||
#endif // _WIN32
|
||||
#endif // defined(_WIN32)
|
||||
|
||||
::testing::InitGoogleTest(&argc, argv);
|
||||
auto ret = RUN_ALL_TESTS();
|
||||
|
Loading…
x
Reference in New Issue
Block a user