--stats can have optional values:
--stats=out prints all test timings to standard output,
--stats=<filename> prints all test timings to a file in tab-separated format.
Stats are now kept in vector to allow duplicated values.
BOOST_REQUIRE_MESSAGE(s.length()>0,"Contents of "+testPath+"/"+_name+".json is empty. Have you cloned the 'tests' repo branch develop and set ETHEREUM_TEST_PATH to its path?");
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?");
@ -311,9 +310,6 @@ namespace dev { namespace test {
voiddoVMTests(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";
@ -549,6 +545,7 @@ BOOST_AUTO_TEST_CASE(vmRandom)
strings=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?");