diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2017-07-19 17:49:27 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-19 17:49:27 +0800 |
commit | e45e95f578ee51788bc4d7d588c84e2cc3060420 (patch) | |
tree | 4c734e40b22dc639b1fdf3fb71cc43bd4bfae45b | |
parent | 3ad326beba8fc9bb65e6ef6fa01d93248ab85db2 (diff) | |
parent | 407a6e1a0f9d40812567cf06dd9fac156ea4063d (diff) | |
download | dexon-solidity-e45e95f578ee51788bc4d7d588c84e2cc3060420.tar dexon-solidity-e45e95f578ee51788bc4d7d588c84e2cc3060420.tar.gz dexon-solidity-e45e95f578ee51788bc4d7d588c84e2cc3060420.tar.bz2 dexon-solidity-e45e95f578ee51788bc4d7d588c84e2cc3060420.tar.lz dexon-solidity-e45e95f578ee51788bc4d7d588c84e2cc3060420.tar.xz dexon-solidity-e45e95f578ee51788bc4d7d588c84e2cc3060420.tar.zst dexon-solidity-e45e95f578ee51788bc4d7d588c84e2cc3060420.zip |
Merge pull request #2596 from ethereum/lll-test-optimiser
Run LLL contract tests with optimiser too
-rw-r--r-- | test/contracts/LLL_ENS.cpp | 2 | ||||
-rw-r--r-- | test/contracts/LLL_ERC20.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/contracts/LLL_ENS.cpp b/test/contracts/LLL_ENS.cpp index 3df1546d..c5fe8a82 100644 --- a/test/contracts/LLL_ENS.cpp +++ b/test/contracts/LLL_ENS.cpp @@ -345,7 +345,7 @@ protected: if (!s_compiledEns) { vector<string> errors; - s_compiledEns.reset(new bytes(compileLLL(ensCode, false, &errors))); + s_compiledEns.reset(new bytes(compileLLL(ensCode, dev::test::Options::get().optimize, &errors))); BOOST_REQUIRE(errors.empty()); } sendMessage(*s_compiledEns, true); diff --git a/test/contracts/LLL_ERC20.cpp b/test/contracts/LLL_ERC20.cpp index 3ee1aa98..25665d64 100644 --- a/test/contracts/LLL_ERC20.cpp +++ b/test/contracts/LLL_ERC20.cpp @@ -396,7 +396,7 @@ protected: if (!s_compiledErc20) { vector<string> errors; - s_compiledErc20.reset(new bytes(compileLLL(erc20Code, false, &errors))); + s_compiledErc20.reset(new bytes(compileLLL(erc20Code, dev::test::Options::get().optimize, &errors))); BOOST_REQUIRE(errors.empty()); } sendMessage(*s_compiledErc20, true); |