aboutsummaryrefslogtreecommitdiffstats
path: root/test/boostTest.cpp
diff options
context:
space:
mode:
authorLeonardo Alt <leo@ethereum.org>2018-11-15 23:47:52 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-11-23 18:51:06 +0800
commit0ff4cbe51ba653397a1937c8c08b3d09541492ef (patch)
tree03a8798bca8f2ef221d77fc8a4c6c5390105800c /test/boostTest.cpp
parent6251a289dd55cc54f8da5a907dc4982a4b5e57fa (diff)
downloaddexon-solidity-0ff4cbe51ba653397a1937c8c08b3d09541492ef.tar.gz
dexon-solidity-0ff4cbe51ba653397a1937c8c08b3d09541492ef.tar.zst
dexon-solidity-0ff4cbe51ba653397a1937c8c08b3d09541492ef.zip
Add SMTChecker tests for standard JSON
Diffstat (limited to 'test/boostTest.cpp')
-rw-r--r--test/boostTest.cpp10
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: {