diff options
author | Gav Wood <g@ethdev.com> | 2015-04-21 23:29:15 +0800 |
---|---|---|
committer | Gav Wood <g@ethdev.com> | 2015-04-21 23:29:15 +0800 |
commit | 6122aedb9088271c838dceb051584c1c033ff42c (patch) | |
tree | 47ccb09c49cbfbf47315de5c682714bc2f14892f /TestHelper.cpp | |
parent | e65b9825d6e40d4d949b3b37246d03dde608d197 (diff) | |
parent | 332fcaebb96bef3a6e1c3239d9f3d7990668f400 (diff) | |
download | dexon-solidity-6122aedb9088271c838dceb051584c1c033ff42c.tar.gz dexon-solidity-6122aedb9088271c838dceb051584c1c033ff42c.tar.zst dexon-solidity-6122aedb9088271c838dceb051584c1c033ff42c.zip |
Merge pull request #1695 from imapp-pl/pr/testeth
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 1419afde..724bcaf6 100644 --- a/TestHelper.cpp +++ b/TestHelper.cpp @@ -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]; |