aboutsummaryrefslogtreecommitdiffstats
path: root/test/boostTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/boostTest.cpp')
-rw-r--r--test/boostTest.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/boostTest.cpp b/test/boostTest.cpp
index fa9df3fd..e557ff95 100644
--- a/test/boostTest.cpp
+++ b/test/boostTest.cpp
@@ -36,7 +36,7 @@
#pragma GCC diagnostic pop
#include <test/TestHelper.h>
-#include <test/libsolidity/SyntaxTester.h>
+#include <test/libsolidity/SyntaxTest.h>
using namespace boost::unit_test;
@@ -55,7 +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";
- dev::solidity::test::SyntaxTester::registerTests();
+ 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: {