aboutsummaryrefslogtreecommitdiffstats
path: root/test/boostTest.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-08-06 17:01:51 +0800
committerGitHub <noreply@github.com>2018-08-06 17:01:51 +0800
commit3684151e53ae4482c6b4dfea1debe5050c24d6c6 (patch)
tree3f7d8d59d8d0f0b3f30d90aa7f2a79761f45c9c2 /test/boostTest.cpp
parent20c65f9af1f42620db7b77543717a2b341771daf (diff)
parent55386ba130122f5f739f4b08f82436ebd27a2087 (diff)
downloaddexon-solidity-3684151e53ae4482c6b4dfea1debe5050c24d6c6.tar
dexon-solidity-3684151e53ae4482c6b4dfea1debe5050c24d6c6.tar.gz
dexon-solidity-3684151e53ae4482c6b4dfea1debe5050c24d6c6.tar.bz2
dexon-solidity-3684151e53ae4482c6b4dfea1debe5050c24d6c6.tar.lz
dexon-solidity-3684151e53ae4482c6b4dfea1debe5050c24d6c6.tar.xz
dexon-solidity-3684151e53ae4482c6b4dfea1debe5050c24d6c6.tar.zst
dexon-solidity-3684151e53ae4482c6b4dfea1debe5050c24d6c6.zip
Merge pull request #4677 from ethereum/jsonAstTestExtraction
JSON AST test extraction
Diffstat (limited to 'test/boostTest.cpp')
-rw-r--r--test/boostTest.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/boostTest.cpp b/test/boostTest.cpp
index 6c68100c..cef3b06f 100644
--- a/test/boostTest.cpp
+++ b/test/boostTest.cpp
@@ -36,6 +36,7 @@
#pragma GCC diagnostic pop
#include <test/Options.h>
+#include <test/libsolidity/ASTJSONTest.h>
#include <test/libsolidity/SyntaxTest.h>
#include <boost/algorithm/string.hpp>
@@ -131,6 +132,12 @@ test_suite* init_unit_test_suite( int /*argc*/, char* /*argv*/[] )
"syntaxTests",
SyntaxTest::create
) > 0, "no syntax tests found");
+ solAssert(registerTests(
+ master,
+ dev::test::Options::get().testPath / "libsolidity",
+ "ASTJSON",
+ ASTJSONTest::create
+ ) > 0, "no JSON AST tests found");
if (dev::test::Options::get().disableIPC)
{
for (auto suite: {