diff options
author | Daniel Kirchner <daniel@ekpyron.org> | 2018-08-04 01:30:18 +0800 |
---|---|---|
committer | Daniel Kirchner <daniel@ekpyron.org> | 2018-08-04 02:35:50 +0800 |
commit | d923926ff7ceaad551fe76afb356266e28a2a1ea (patch) | |
tree | d29538c748e463ad4f93441fa5b77f870530a5d6 /test/boostTest.cpp | |
parent | 0b20e4fd22349da691056f3a4ac89c7c5006a0c4 (diff) | |
download | dexon-solidity-d923926ff7ceaad551fe76afb356266e28a2a1ea.tar.gz dexon-solidity-d923926ff7ceaad551fe76afb356266e28a2a1ea.tar.zst dexon-solidity-d923926ff7ceaad551fe76afb356266e28a2a1ea.zip |
Infrastructure for extracting JSON AST tests.
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 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: { |