diff options
author | chriseth <chris@ethereum.org> | 2018-03-13 20:15:45 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-13 20:15:45 +0800 |
commit | 6bab7a4cce26e922029769e7193636cfc2fe3752 (patch) | |
tree | 73adb2c2b21783e92cad8a1cdb2bf40a7a01d402 /test/boostTest.cpp | |
parent | f2614be95f71a274db3c172661726dd007e90cf7 (diff) | |
parent | 7091b6c8b5a91a13ff02255cc0bca08266527e4f (diff) | |
download | dexon-solidity-6bab7a4cce26e922029769e7193636cfc2fe3752.tar dexon-solidity-6bab7a4cce26e922029769e7193636cfc2fe3752.tar.gz dexon-solidity-6bab7a4cce26e922029769e7193636cfc2fe3752.tar.bz2 dexon-solidity-6bab7a4cce26e922029769e7193636cfc2fe3752.tar.lz dexon-solidity-6bab7a4cce26e922029769e7193636cfc2fe3752.tar.xz dexon-solidity-6bab7a4cce26e922029769e7193636cfc2fe3752.tar.zst dexon-solidity-6bab7a4cce26e922029769e7193636cfc2fe3752.zip |
Merge pull request #3707 from ethereum/syntaxTestsTestRunner
Infrastructure for extracting syntax tests.
Diffstat (limited to 'test/boostTest.cpp')
-rw-r--r-- | test/boostTest.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/boostTest.cpp b/test/boostTest.cpp index a3cc51c5..e557ff95 100644 --- a/test/boostTest.cpp +++ b/test/boostTest.cpp @@ -36,6 +36,7 @@ #pragma GCC diagnostic pop #include <test/TestHelper.h> +#include <test/libsolidity/SyntaxTest.h> using namespace boost::unit_test; @@ -54,6 +55,11 @@ test_suite* init_unit_test_suite( int /*argc*/, char* /*argv*/[] ) { master_test_suite_t& master = framework::master_test_suite(); master.p_name.value = "SolidityTests"; + solAssert(dev::solidity::test::SyntaxTest::registerTests( + master, + dev::test::Options::get().testPath / "libsolidity", + "syntaxTests" + ) > 0, "no syntax tests found"); if (dev::test::Options::get().disableIPC) { for (auto suite: { |