aboutsummaryrefslogtreecommitdiffstats
path: root/vm.cpp
diff options
context:
space:
mode:
authorPaweł Bylica <pawel.bylica@imapp.pl>2015-03-13 20:10:38 +0800
committerPaweł Bylica <chfast@gmail.com>2015-03-14 07:18:52 +0800
commit3782a33e5004df06714648b5462d3d1960ed9de0 (patch)
treef49ff35f1f8150355f4326ff42562e84257016f1 /vm.cpp
parent31db4fbde86ede91b3af9336d7632e4c700960d6 (diff)
downloaddexon-solidity-3782a33e5004df06714648b5462d3d1960ed9de0.tar
dexon-solidity-3782a33e5004df06714648b5462d3d1960ed9de0.tar.gz
dexon-solidity-3782a33e5004df06714648b5462d3d1960ed9de0.tar.bz2
dexon-solidity-3782a33e5004df06714648b5462d3d1960ed9de0.tar.lz
dexon-solidity-3782a33e5004df06714648b5462d3d1960ed9de0.tar.xz
dexon-solidity-3782a33e5004df06714648b5462d3d1960ed9de0.tar.zst
dexon-solidity-3782a33e5004df06714648b5462d3d1960ed9de0.zip
Prettify VM and State test outputs
Diffstat (limited to 'vm.cpp')
-rw-r--r--vm.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/vm.cpp b/vm.cpp
index 24ae4e06..2bdafb27 100644
--- a/vm.cpp
+++ b/vm.cpp
@@ -316,7 +316,7 @@ void doVMTests(json_spirit::mValue& v, bool _fillin)
for (auto& i: v.get_obj())
{
- cnote << i.first;
+ std::cout << " " << i.first << "\n";
mObject& o = i.second.get_obj();
BOOST_REQUIRE(o.count("env") > 0);
@@ -354,7 +354,7 @@ void doVMTests(json_spirit::mValue& v, bool _fillin)
}
catch (VMException const&)
{
- cnote << "Safe VM Exception";
+ std::cout << " Safe VM Exception\n";
vmExceptionOccured = true;
}
catch (Exception const& _e)
@@ -544,7 +544,7 @@ BOOST_AUTO_TEST_CASE(vmRandom)
{
try
{
- cnote << "Testing ..." << path.filename();
+ std::cout << "TEST " << path.filename() << "\n";
json_spirit::mValue v;
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?");