mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
testeth: Handle command line options for user defined tests
This commit is contained in:
parent
71012a83e8
commit
332fcaebb9
@ -542,6 +542,8 @@ void checkCallCreates(eth::Transactions _resultCallCreates, eth::Transactions _e
|
|||||||
|
|
||||||
void userDefinedTest(string testTypeFlag, std::function<void(json_spirit::mValue&, bool)> doTests)
|
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)
|
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];
|
||||||
|
Loading…
Reference in New Issue
Block a user