From ba3d2b43ae095df7fcbdfab0e22d8587963a9450 Mon Sep 17 00:00:00 2001 From: CJentzsch Date: Fri, 12 Dec 2014 22:16:51 +0100 Subject: [PATCH] Added recursive create test + lesser output for safe VM exceptions --- recursiveCreateFiller.json => stRecursiveCreateFiller.json | 0 state.cpp | 5 +++++ vm.cpp | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) rename recursiveCreateFiller.json => stRecursiveCreateFiller.json (100%) diff --git a/recursiveCreateFiller.json b/stRecursiveCreateFiller.json similarity index 100% rename from recursiveCreateFiller.json rename to stRecursiveCreateFiller.json diff --git a/state.cpp b/state.cpp index 3fe0fe30b..e1d5def6a 100644 --- a/state.cpp +++ b/state.cpp @@ -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); diff --git a/vm.cpp b/vm.cpp index f05981d9e..49d6ed104 100644 --- a/vm.cpp +++ b/vm.cpp @@ -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)