aboutsummaryrefslogtreecommitdiffstats
path: root/state.cpp
diff options
context:
space:
mode:
authorsubtly <subtly@users.noreply.github.com>2015-04-05 20:03:25 +0800
committersubtly <subtly@users.noreply.github.com>2015-04-05 20:03:25 +0800
commit985271d8fcbcc9db185094a45835022aa053fdf4 (patch)
tree922a60c54969886a037ae5d3cd8e308f5154026f /state.cpp
parente03ee60fa4d3b42b84a489032c844ae035c470fe (diff)
parent158fdc17982c983be686fb928595c30076b7acb7 (diff)
downloaddexon-solidity-985271d8fcbcc9db185094a45835022aa053fdf4.tar
dexon-solidity-985271d8fcbcc9db185094a45835022aa053fdf4.tar.gz
dexon-solidity-985271d8fcbcc9db185094a45835022aa053fdf4.tar.bz2
dexon-solidity-985271d8fcbcc9db185094a45835022aa053fdf4.tar.lz
dexon-solidity-985271d8fcbcc9db185094a45835022aa053fdf4.tar.xz
dexon-solidity-985271d8fcbcc9db185094a45835022aa053fdf4.tar.zst
dexon-solidity-985271d8fcbcc9db185094a45835022aa053fdf4.zip
Merge branch 'develop' into p2p
Diffstat (limited to 'state.cpp')
-rw-r--r--state.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/state.cpp b/state.cpp
index 7c586ec7..e4bf06bd 100644
--- a/state.cpp
+++ b/state.cpp
@@ -31,7 +31,6 @@
#include <libethereum/Defaults.h>
#include <libevm/VM.h>
#include "TestHelper.h"
-#include "Stats.h"
using namespace std;
using namespace json_spirit;
@@ -42,9 +41,6 @@ namespace dev { namespace test {
void doStateTests(json_spirit::mValue& v, bool _fillin)
{
- if (Options::get().stats)
- Listener::registerListener(Stats::get());
-
for (auto& i: v.get_obj())
{
std::cout << " " << i.first << "\n";
@@ -254,6 +250,7 @@ BOOST_AUTO_TEST_CASE(stRandom)
string s = asString(dev::contents(path.string()));
BOOST_REQUIRE_MESSAGE(s.length() > 0, "Content of " + path.string() + " is empty. Have you cloned the 'tests' repo branch develop and set ETHEREUM_TEST_PATH to its path?");
json_spirit::read_string(s, v);
+ test::Listener::notifySuiteStarted(path.filename().string());
dev::test::doStateTests(v, false);
}
catch (Exception const& _e)