Make changes to gtest ECC behavior suggested by @str4d.

This commit is contained in:
Sean Bowe 2018-08-01 16:53:27 -06:00
parent 262d21bcbb
commit 80bd573dc2
2 changed files with 5 additions and 4 deletions

View File

@ -45,5 +45,9 @@ int main(int argc, char **argv) {
);
testing::InitGoogleMock(&argc, argv);
return RUN_ALL_TESTS();
auto ret = RUN_ALL_TESTS();
ECC_Stop();
return ret;
}

View File

@ -24,7 +24,6 @@
//
#if 0
TEST(founders_reward_test, create_testnet_2of3multisig) {
ECC_Start();
SelectParams(CBaseChainParams::TESTNET);
boost::filesystem::path pathTemp = boost::filesystem::temp_directory_path() / boost::filesystem::unique_path();
boost::filesystem::create_directories(pathTemp);
@ -80,8 +79,6 @@ TEST(founders_reward_test, create_testnet_2of3multisig) {
std::cout << s << std::endl;
pWallet->Flush(true);
ECC_Stop();
}
#endif