Merge pull request #601 from CJentzsch/newTests

Added recursive create test + lesser output for safe VM exceptions
This commit is contained in:
Gav Wood 2014-12-13 19:13:27 +01:00
commit 994fe6a80e
3 changed files with 6 additions and 1 deletions

View File

@ -130,6 +130,11 @@ BOOST_AUTO_TEST_CASE(stLogTests)
dev::test::executeTests("stLogTests", "/StateTests", dev::test::doStateTests);
}
BOOST_AUTO_TEST_CASE(stRecursiveCreate)
{
dev::test::executeTests("stRecursiveCreate", "/StateTests", dev::test::doStateTests);
}
BOOST_AUTO_TEST_CASE(stSpecialTest)
{
dev::test::executeTests("stSpecialTest", "/StateTests", dev::test::doStateTests);

2
vm.cpp
View File

@ -311,7 +311,7 @@ void doVMTests(json_spirit::mValue& v, bool _fillin)
}
catch (VMException const& _e)
{
cnote << "VM did throw an exception: " << diagnostic_information(_e);
cnote << "Safe VM Exception";
vmExceptionOccured = true;
}
catch (Exception const& _e)