diff options
author | Daniel Kirchner <daniel@ekpyron.org> | 2018-03-14 19:04:04 +0800 |
---|---|---|
committer | Daniel Kirchner <daniel@ekpyron.org> | 2018-03-14 19:04:04 +0800 |
commit | d63d41b3b545b0e13e2ee7f880120b2ba852c654 (patch) | |
tree | 23f911d4dc777bb44d7d7f54993b048ba323861a /test/boostTest.cpp | |
parent | a5d9b05acbcbfadeb4c956f70db6f24cf226ed46 (diff) | |
download | dexon-solidity-d63d41b3b545b0e13e2ee7f880120b2ba852c654.tar dexon-solidity-d63d41b3b545b0e13e2ee7f880120b2ba852c654.tar.gz dexon-solidity-d63d41b3b545b0e13e2ee7f880120b2ba852c654.tar.bz2 dexon-solidity-d63d41b3b545b0e13e2ee7f880120b2ba852c654.tar.lz dexon-solidity-d63d41b3b545b0e13e2ee7f880120b2ba852c654.tar.xz dexon-solidity-d63d41b3b545b0e13e2ee7f880120b2ba852c654.tar.zst dexon-solidity-d63d41b3b545b0e13e2ee7f880120b2ba852c654.zip |
test: Rename test/TestHelper.* to test/Options.* and add Options::validate().
Diffstat (limited to 'test/boostTest.cpp')
-rw-r--r-- | test/boostTest.cpp | 7 |
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", |