Merge pull request #4459
bcf3f6affuzz_tests: catch unhandled exceptions (moneromooo-monero)3ebd05d4miner: restore stream flags after changing them (moneromooo-monero)a093092elevin_protocol_handler_async: do not propagate exception through dtor (moneromooo-monero)1eebb82bnet_helper: do not propagate exceptions through dtor (moneromooo-monero)fb6a3630miner: do not propagate exceptions through dtor (moneromooo-monero)2e2139ffepee: do not propagate exception through dtor (moneromooo-monero)0749a8bddb_lmdb: do not propagate exceptions in dtor (moneromooo-monero)1b0afeebwallet_rpc_server: exit cleanly on unhandled exceptions (moneromooo-monero)418a9936unit_tests: catch unhandled exceptions (moneromooo-monero)ea7f9543threadpool: do not propagate exceptions through the dtor (moneromooo-monero)6e855422gen_multisig: nice exit on unhandled exception (moneromooo-monero)53df2debdb_lmdb: catch error in mdb_stat calls during migration (moneromooo-monero)e67016ddblockchain_blackball: catch failure to commit db transaction (moneromooo-monero)661439f4mlog: don't remove old logs if we failed to rename the current file (moneromooo-monero)5fdcda50easylogging++: test for NULL before dereference (moneromooo-monero)7ece1550performance_test: fix bad last argument calling add_arg (moneromooo-monero)a085da32unit_tests: add check for page size > 0 before dividing (moneromooo-monero)d8b1ec8bunit_tests: use std::shared_ptr to shut coverity up about leaks (moneromooo-monero)02563bf4simplewallet: top level exception catcher to print nicer messages (moneromooo-monero)c57a65b2blockchain_blackball: fix shift range for 32 bit archs (moneromooo-monero)
This commit is contained in:
@@ -53,6 +53,8 @@ namespace cryptonote { template class t_cryptonote_protocol_handler<cryptonote::
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
TRY_ENTRY();
|
||||
|
||||
tools::on_startup();
|
||||
epee::string_tools::set_module_name_and_folder(argv[0]);
|
||||
mlog_configure(mlog_get_default_log_path("unit_tests.log"), true);
|
||||
@@ -76,5 +78,7 @@ int main(int argc, char** argv)
|
||||
|
||||
unit_test::data_dir = command_line::get_arg(vm, arg_data_dir);
|
||||
|
||||
CATCH_ENTRY_L0("main", 1);
|
||||
|
||||
return RUN_ALL_TESTS();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user