Diagnostics to try to track down the mining issues.

This commit is contained in:
Gav Wood 2015-03-18 22:10:32 +01:00
parent e48fd2ef7e
commit a48c84a0e1

View File

@ -45,7 +45,7 @@ BOOST_AUTO_TEST_CASE(basic_test)
testPath += "/PoWTests"; testPath += "/PoWTests";
cnote << "Testing Secure Trie..."; cnote << "Testing Proof of Work...";
js::mValue v; js::mValue v;
string s = asString(contents(testPath + "/ethash_tests.json")); string s = asString(contents(testPath + "/ethash_tests.json"));
BOOST_REQUIRE_MESSAGE(s.length() > 0, "Contents of 'ethash_tests.json' is empty. Have you cloned the 'tests' repo branch develop?"); BOOST_REQUIRE_MESSAGE(s.length() > 0, "Contents of 'ethash_tests.json' is empty. Have you cloned the 'tests' repo branch develop?");