diff options
author | Gav Wood <i@gavwood.com> | 2015-03-04 00:12:27 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2015-03-06 19:45:25 +0800 |
commit | 3583184cda98248a3f94c6179af4365718ec9936 (patch) | |
tree | 43cf618ac73829eef54a72447d74358d9b2d24d6 | |
parent | dacd342424c2ec504a74ac9f3310b63c282de780 (diff) | |
download | dexon-solidity-3583184cda98248a3f94c6179af4365718ec9936.tar.gz dexon-solidity-3583184cda98248a3f94c6179af4365718ec9936.tar.zst dexon-solidity-3583184cda98248a3f94c6179af4365718ec9936.zip |
state rebase.
-rw-r--r-- | state.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
@@ -228,24 +228,6 @@ BOOST_AUTO_TEST_CASE(stMemoryTest) dev::test::executeTests("stMemoryTest", "/StateTests", dev::test::doStateTests); } -BOOST_AUTO_TEST_CASE(stMemoryStressTest) -{ - for (int i = 1; i < boost::unit_test::framework::master_test_suite().argc; ++i) - { - string arg = boost::unit_test::framework::master_test_suite().argv[i]; - if (arg == "--memory" || arg == "--all") - { - auto start = chrono::steady_clock::now(); - - dev::test::executeTests("stMemoryStressTest", "/StateTests", dev::test::doStateTests); - - auto end = chrono::steady_clock::now(); - auto duration(chrono::duration_cast<chrono::milliseconds>(end - start)); - cnote << "test duration: " << duration.count() << " milliseconds.\n"; - } - } -} - BOOST_AUTO_TEST_CASE(stCreateTest) { for (int i = 1; i < boost::unit_test::framework::master_test_suite().argc; ++i) |