From c5d3ea2fef779f0e937237b4a65912f5da7123bb Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Wed, 3 Apr 2019 16:15:55 +0000 Subject: tests: add a few try/catch in main to shut coverity up --- tests/libwallet_api_tests/main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/libwallet_api_tests/main.cpp') diff --git a/tests/libwallet_api_tests/main.cpp b/tests/libwallet_api_tests/main.cpp index 02faae50d..c34da04b7 100644 --- a/tests/libwallet_api_tests/main.cpp +++ b/tests/libwallet_api_tests/main.cpp @@ -1139,6 +1139,8 @@ TEST_F(WalletManagerMainnetTest, RecoverAndRefreshWalletMainNetAsync) int main(int argc, char** argv) { + TRY_ENTRY(); + tools::on_startup(); // we can override default values for "TESTNET_DAEMON_ADDRESS" and "WALLETS_ROOT_DIR" @@ -1173,4 +1175,5 @@ int main(int argc, char** argv) ::testing::InitGoogleTest(&argc, argv); Monero::WalletManagerFactory::setLogLevel(Monero::WalletManagerFactory::LogLevel_Max); return RUN_ALL_TESTS(); + CATCH_ENTRY_L0("main", 1); } -- cgit v1.2.3