diff options
author | Paweł Bylica <pawel.bylica@imapp.pl> | 2015-04-21 16:37:47 +0800 |
---|---|---|
committer | Paweł Bylica <pawel.bylica@imapp.pl> | 2015-04-21 16:37:47 +0800 |
commit | 332fcaebb96bef3a6e1c3239d9f3d7990668f400 (patch) | |
tree | 092a0f19b1bc8c6ae3ed8291cfc9e25f0de716c9 /TestHelper.cpp | |
parent | 71012a83e86dac3a899780219a78f18acd1708c5 (diff) | |
download | dexon-solidity-332fcaebb96bef3a6e1c3239d9f3d7990668f400.tar dexon-solidity-332fcaebb96bef3a6e1c3239d9f3d7990668f400.tar.gz dexon-solidity-332fcaebb96bef3a6e1c3239d9f3d7990668f400.tar.bz2 dexon-solidity-332fcaebb96bef3a6e1c3239d9f3d7990668f400.tar.lz dexon-solidity-332fcaebb96bef3a6e1c3239d9f3d7990668f400.tar.xz dexon-solidity-332fcaebb96bef3a6e1c3239d9f3d7990668f400.tar.zst dexon-solidity-332fcaebb96bef3a6e1c3239d9f3d7990668f400.zip |
testeth: Handle command line options for user defined tests
Diffstat (limited to 'TestHelper.cpp')
-rw-r--r-- | TestHelper.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/TestHelper.cpp b/TestHelper.cpp index ed844e96..92d38c00 100644 --- a/TestHelper.cpp +++ b/TestHelper.cpp @@ -542,6 +542,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]; |