diff options
author | chriseth <c@ethdev.com> | 2016-11-23 22:14:25 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2016-11-23 23:48:13 +0800 |
commit | c9293f2f2370e16af239f711b56245cf70c29970 (patch) | |
tree | b854ae0a8d0586f6acc8a15e9cb77378c77858f6 /test/TestHelper.cpp | |
parent | a7c2509adfe57f106cb87ed024925751732b5412 (diff) | |
download | dexon-solidity-c9293f2f2370e16af239f711b56245cf70c29970.tar.gz dexon-solidity-c9293f2f2370e16af239f711b56245cf70c29970.tar.zst dexon-solidity-c9293f2f2370e16af239f711b56245cf70c29970.zip |
Enable the optimizer for test runs.
Diffstat (limited to 'test/TestHelper.cpp')
-rw-r--r-- | test/TestHelper.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/TestHelper.cpp b/test/TestHelper.cpp index 0b6904bf..d670ebff 100644 --- a/test/TestHelper.cpp +++ b/test/TestHelper.cpp @@ -39,6 +39,9 @@ Options::Options() ipcPath = suite.argv[i + 1]; i++; } + else if (string(suite.argv[i]) == "--optimize") + optimize = true; + if (ipcPath.empty()) if (auto path = getenv("ETH_TEST_IPC")) ipcPath = path; |