Browse Source

optional wallet blockChain tests, beacuse it takes a while

cl-refactor
CJentzsch 10 years ago
parent
commit
fa69d6a529
  1. 3
      test/TestHelper.cpp
  2. 1
      test/TestHelper.h
  3. 1
      test/libethereum/blockchain.cpp

3
test/TestHelper.cpp

@ -732,6 +732,8 @@ Options::Options()
bigData = true;
else if (arg == "--checkstate")
checkState = true;
else if (arg == "--wallet")
wallet = true;
else if (arg == "--all")
{
performance = true;
@ -739,6 +741,7 @@ Options::Options()
memory = true;
inputLimits = true;
bigData = true;
wallet= true;
}
else if (arg == "--singletest" && i + 1 < argc)
{

1
test/TestHelper.h

@ -195,6 +195,7 @@ public:
bool memory = false;
bool inputLimits = false;
bool bigData = false;
bool wallet = false;
/// @}
/// Get reference to options

1
test/libethereum/blockchain.cpp

@ -787,6 +787,7 @@ BOOST_AUTO_TEST_CASE(bcGasPricerTest)
BOOST_AUTO_TEST_CASE(bcWalletTest)
{
if (test::Options::get().wallet)
dev::test::executeTests("bcWalletTest", "/BlockTests",dev::test::getFolder(__FILE__) + "/BlockTestsFiller", dev::test::doBlockchainTests);
}

Loading…
Cancel
Save