Merge pull request #1695 from imapp-pl/pr/testeth

testeth: Handle command line options for user defined tests
This commit is contained in:
Gav Wood 2015-04-21 17:29:15 +02:00
commit 6122aedb90

View File

@ -539,6 +539,8 @@ void checkCallCreates(eth::Transactions _resultCallCreates, eth::Transactions _e
void userDefinedTest(string testTypeFlag, std::function<void(json_spirit::mValue&, bool)> doTests)
{
Options::get(); // parse command line options, e.g. to enable JIT
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];