diff options
author | Christoph Jentzsch <jentzsch.software@gmail.com> | 2014-11-11 01:30:35 +0800 |
---|---|---|
committer | Christoph Jentzsch <jentzsch.software@gmail.com> | 2014-11-11 01:30:35 +0800 |
commit | 9b14af5c15971329c7520b9754d04664c71a2987 (patch) | |
tree | b56cdb530ea1eaece8e4a3ac3e0c66e0d9d7ff93 /TestHelper.cpp | |
parent | 3c45877e2aecb7e73392540fdbf82de0bd35156e (diff) | |
download | dexon-solidity-9b14af5c15971329c7520b9754d04664c71a2987.tar dexon-solidity-9b14af5c15971329c7520b9754d04664c71a2987.tar.gz dexon-solidity-9b14af5c15971329c7520b9754d04664c71a2987.tar.bz2 dexon-solidity-9b14af5c15971329c7520b9754d04664c71a2987.tar.lz dexon-solidity-9b14af5c15971329c7520b9754d04664c71a2987.tar.xz dexon-solidity-9b14af5c15971329c7520b9754d04664c71a2987.tar.zst dexon-solidity-9b14af5c15971329c7520b9754d04664c71a2987.zip |
build fix
Diffstat (limited to 'TestHelper.cpp')
-rw-r--r-- | TestHelper.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/TestHelper.cpp b/TestHelper.cpp index 306fc956..c1a141ab 100644 --- a/TestHelper.cpp +++ b/TestHelper.cpp @@ -309,7 +309,7 @@ void userDefinedTest(string testTypeFlag, std::function<void(json_spirit::mValue { for (int i = 1; i < boost::unit_test::framework::master_test_suite().argc; ++i) { - string arg = boost::unit_test::framework::master_test_suite().argv[i]; + string arg = boost::unit_test::framework::master_test_suite().argv[i]; if (arg == testTypeFlag) { if (i + 1 >= boost::unit_test::framework::master_test_suite().argc) @@ -332,10 +332,12 @@ void userDefinedTest(string testTypeFlag, std::function<void(json_spirit::mValue catch (Exception const& _e) { BOOST_ERROR("Failed Test with Exception: " << diagnostic_information(_e)); + g_logVerbosity = currentVerbosity; } catch (std::exception const& _e) { BOOST_ERROR("Failed Test with Exception: " << _e.what()); + g_logVerbosity = currentVerbosity; } g_logVerbosity = currentVerbosity; } |