aboutsummaryrefslogtreecommitdiffstats
path: root/test/boostTest.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-03-15 01:05:48 +0800
committerGitHub <noreply@github.com>2018-03-15 01:05:48 +0800
commitd0c96d53e90be5e58d8fef2e77fbd71baf2027ba (patch)
treec7dae3f233e23389ad2eb569732e8dbc98b6cfb5 /test/boostTest.cpp
parentabc7a45230614454d6ffb78447c112b63f712642 (diff)
parentd63d41b3b545b0e13e2ee7f880120b2ba852c654 (diff)
downloaddexon-solidity-d0c96d53e90be5e58d8fef2e77fbd71baf2027ba.tar
dexon-solidity-d0c96d53e90be5e58d8fef2e77fbd71baf2027ba.tar.gz
dexon-solidity-d0c96d53e90be5e58d8fef2e77fbd71baf2027ba.tar.bz2
dexon-solidity-d0c96d53e90be5e58d8fef2e77fbd71baf2027ba.tar.lz
dexon-solidity-d0c96d53e90be5e58d8fef2e77fbd71baf2027ba.tar.xz
dexon-solidity-d0c96d53e90be5e58d8fef2e77fbd71baf2027ba.tar.zst
dexon-solidity-d0c96d53e90be5e58d8fef2e77fbd71baf2027ba.zip
Merge pull request #3734 from ethereum/soltestOptions
test: Rename test/TestHelper.* to test/Options.* and add Options::val…
Diffstat (limited to 'test/boostTest.cpp')
-rw-r--r--test/boostTest.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/boostTest.cpp b/test/boostTest.cpp
index 8ad97db3..f16973b5 100644
--- a/test/boostTest.cpp
+++ b/test/boostTest.cpp
@@ -35,7 +35,7 @@
#pragma GCC diagnostic pop
-#include <test/TestHelper.h>
+#include <test/Options.h>
#include <test/libsolidity/SyntaxTest.h>
using namespace boost::unit_test;
@@ -55,10 +55,7 @@ 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::test::Options::get().testPath.empty(),
- "No test path specified. The --testpath argument is required."
- );
+ dev::test::Options::get().validate();
solAssert(dev::solidity::test::SyntaxTest::registerTests(
master,
dev::test::Options::get().testPath / "libsolidity",