mirror of
https://github.com/monero-project/monero.git
synced 2025-05-05 03:55:00 -04:00
tests: add a few try/catch in main to shut coverity up
This commit is contained in:
parent
1ef3d05c4a
commit
c5d3ea2fef
4 changed files with 15 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue