diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-11-23 19:23:27 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-23 19:23:27 +0800 |
commit | 616ef8bca8515d565cd9ce24329056c0828e6853 (patch) | |
tree | 03a8798bca8f2ef221d77fc8a4c6c5390105800c /test/boostTest.cpp | |
parent | 9217fbb58d085325ce37ed6ca37f76e8b8de9d90 (diff) | |
parent | 0ff4cbe51ba653397a1937c8c08b3d09541492ef (diff) | |
download | dexon-solidity-616ef8bca8515d565cd9ce24329056c0828e6853.tar.gz dexon-solidity-616ef8bca8515d565cd9ce24329056c0828e6853.tar.zst dexon-solidity-616ef8bca8515d565cd9ce24329056c0828e6853.zip |
Merge pull request #3073 from ethereum/smtlib2_via_standardio
Inject SMTLIB2 queries and responses via standard-json-io.
Diffstat (limited to 'test/boostTest.cpp')
-rw-r--r-- | test/boostTest.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/boostTest.cpp b/test/boostTest.cpp index 5352ef85..6ff6d2d2 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/libsolidity/SMTCheckerJSONTest.h> #include <test/libyul/YulOptimizerTest.h> #include <boost/algorithm/string.hpp> @@ -146,12 +147,21 @@ test_suite* init_unit_test_suite( int /*argc*/, char* /*argv*/[] ) dev::yul::test::YulOptimizerTest::create ) > 0, "no Yul Optimizer tests found"); if (!dev::test::Options::get().disableSMT) + { solAssert(registerTests( master, dev::test::Options::get().testPath / "libsolidity", "smtCheckerTests", SyntaxTest::create ) > 0, "no SMT checker tests found"); + + solAssert(registerTests( + master, + dev::test::Options::get().testPath / "libsolidity", + "smtCheckerTestsJSON", + SMTCheckerTest::create + ) > 0, "no SMT checker JSON tests found"); + } if (dev::test::Options::get().disableIPC) { for (auto suite: { |