Make changes to gtest ECC behavior suggested by @str4d.
This commit is contained in:
parent
262d21bcbb
commit
80bd573dc2
|
@ -45,5 +45,9 @@ int main(int argc, char **argv) {
|
||||||
);
|
);
|
||||||
|
|
||||||
testing::InitGoogleMock(&argc, argv);
|
testing::InitGoogleMock(&argc, argv);
|
||||||
return RUN_ALL_TESTS();
|
|
||||||
|
auto ret = RUN_ALL_TESTS();
|
||||||
|
|
||||||
|
ECC_Stop();
|
||||||
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,7 +24,6 @@
|
||||||
//
|
//
|
||||||
#if 0
|
#if 0
|
||||||
TEST(founders_reward_test, create_testnet_2of3multisig) {
|
TEST(founders_reward_test, create_testnet_2of3multisig) {
|
||||||
ECC_Start();
|
|
||||||
SelectParams(CBaseChainParams::TESTNET);
|
SelectParams(CBaseChainParams::TESTNET);
|
||||||
boost::filesystem::path pathTemp = boost::filesystem::temp_directory_path() / boost::filesystem::unique_path();
|
boost::filesystem::path pathTemp = boost::filesystem::temp_directory_path() / boost::filesystem::unique_path();
|
||||||
boost::filesystem::create_directories(pathTemp);
|
boost::filesystem::create_directories(pathTemp);
|
||||||
|
@ -80,8 +79,6 @@ TEST(founders_reward_test, create_testnet_2of3multisig) {
|
||||||
std::cout << s << std::endl;
|
std::cout << s << std::endl;
|
||||||
|
|
||||||
pWallet->Flush(true);
|
pWallet->Flush(true);
|
||||||
|
|
||||||
ECC_Stop();
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue