aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2014-12-13 05:16:51 +0800
committerCJentzsch <jentzsch.software@gmail.com>2014-12-13 05:16:51 +0800
commitba3d2b43ae095df7fcbdfab0e22d8587963a9450 (patch)
tree97fb102f838427159a3c3d17f060725eb31d203c
parentdd309de94c2cd6a5d77be877e4f30b5a70d725f5 (diff)
downloaddexon-solidity-ba3d2b43ae095df7fcbdfab0e22d8587963a9450.tar
dexon-solidity-ba3d2b43ae095df7fcbdfab0e22d8587963a9450.tar.gz
dexon-solidity-ba3d2b43ae095df7fcbdfab0e22d8587963a9450.tar.bz2
dexon-solidity-ba3d2b43ae095df7fcbdfab0e22d8587963a9450.tar.lz
dexon-solidity-ba3d2b43ae095df7fcbdfab0e22d8587963a9450.tar.xz
dexon-solidity-ba3d2b43ae095df7fcbdfab0e22d8587963a9450.tar.zst
dexon-solidity-ba3d2b43ae095df7fcbdfab0e22d8587963a9450.zip
Added recursive create test + lesser output for safe VM exceptions
-rw-r--r--stRecursiveCreateFiller.json (renamed from recursiveCreateFiller.json)0
-rw-r--r--state.cpp5
-rw-r--r--vm.cpp2
3 files changed, 6 insertions, 1 deletions
diff --git a/recursiveCreateFiller.json b/stRecursiveCreateFiller.json
index 0d18fb7a..0d18fb7a 100644
--- a/recursiveCreateFiller.json
+++ b/stRecursiveCreateFiller.json
diff --git a/state.cpp b/state.cpp
index 3fe0fe30..e1d5def6 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 f05981d9..49d6ed10 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)