diff options
author | chriseth <chris@ethereum.org> | 2018-10-09 21:43:55 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-10-11 22:59:57 +0800 |
commit | 4607118d2e9bbf59707b48f177aff54ac99163b8 (patch) | |
tree | 58853b286db239558ee9062a788bbfd86837def3 /test/boostTest.cpp | |
parent | 6859ec043412ddb1da1929fec4064fbd288db71e (diff) | |
download | dexon-solidity-4607118d2e9bbf59707b48f177aff54ac99163b8.tar dexon-solidity-4607118d2e9bbf59707b48f177aff54ac99163b8.tar.gz dexon-solidity-4607118d2e9bbf59707b48f177aff54ac99163b8.tar.bz2 dexon-solidity-4607118d2e9bbf59707b48f177aff54ac99163b8.tar.lz dexon-solidity-4607118d2e9bbf59707b48f177aff54ac99163b8.tar.xz dexon-solidity-4607118d2e9bbf59707b48f177aff54ac99163b8.tar.zst dexon-solidity-4607118d2e9bbf59707b48f177aff54ac99163b8.zip |
Add Yul optimizer test framework.
Diffstat (limited to 'test/boostTest.cpp')
-rw-r--r-- | test/boostTest.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/boostTest.cpp b/test/boostTest.cpp index d9e939eb..cbbf586f 100644 --- a/test/boostTest.cpp +++ b/test/boostTest.cpp @@ -38,6 +38,7 @@ #include <test/Options.h> #include <test/libsolidity/ASTJSONTest.h> #include <test/libsolidity/SyntaxTest.h> +#include <test/libjulia/YulOptimizerTest.h> #include <boost/algorithm/string.hpp> #include <boost/algorithm/string/predicate.hpp> @@ -138,6 +139,12 @@ test_suite* init_unit_test_suite( int /*argc*/, char* /*argv*/[] ) "ASTJSON", ASTJSONTest::create ) > 0, "no JSON AST tests found"); + solAssert(registerTests( + master, + dev::test::Options::get().testPath / "libjulia", + "yulOptimizerTests", + dev::julia::test::YulOptimizerTest::create + ) > 0, "no Yul Optimizer tests found"); if (dev::test::Options::get().disableIPC) { for (auto suite: { |