Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

Commit

Permalink
Merge pull request #5135 from DimaStebaev/develop
Browse files Browse the repository at this point in the history
Fixed bug with test suit selection
  • Loading branch information
chfast authored Jul 26, 2018
2 parents ffa953c + b014c45 commit 86b33c8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/tools/libtesteth/boostTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,27 +59,27 @@ void customTestSuite()
if (opt.singleTestFile.is_initialized())
{
boost::filesystem::path file(opt.singleTestFile.get());
if (opt.rCurrentTestSuite.find_first_of("GeneralStateTests") != std::string::npos)
if (opt.rCurrentTestSuite.find("GeneralStateTests") != std::string::npos)
{
dev::test::StateTestSuite suite;
suite.runTestWithoutFiller(file);
}
else if (opt.rCurrentTestSuite.find_first_of("BlockchainTests") != std::string::npos)
else if (opt.rCurrentTestSuite.find("BlockchainTests") != std::string::npos)
{
dev::test::BlockchainTestSuite suite;
suite.runTestWithoutFiller(file);
}
else if (opt.rCurrentTestSuite.find_first_of("TransitionTests") != std::string::npos)
else if (opt.rCurrentTestSuite.find("TransitionTests") != std::string::npos)
{
dev::test::TransitionTestsSuite suite;
suite.runTestWithoutFiller(file);
}
else if (opt.rCurrentTestSuite.find_first_of("VMtests") != std::string::npos)
else if (opt.rCurrentTestSuite.find("VMtests") != std::string::npos)
{
dev::test::VmTestSuite suite;
suite.runTestWithoutFiller(file);
}
else if (opt.rCurrentTestSuite.find_first_of("TransactionTests") != std::string::npos)
else if (opt.rCurrentTestSuite.find("TransactionTests") != std::string::npos)
{
dev::test::TransactionTestSuite suite;
suite.runTestWithoutFiller(file);
Expand Down

0 comments on commit 86b33c8

Please sign in to comment.