mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-16 18:56:52 +02:00
Apply setup(const vector<string>&) to -all option
This commit is contained in:
@@ -76,7 +76,6 @@ bool TestRunner::run(const std::vector<std::string>& args)
|
||||
{
|
||||
if (i + 1 < args.size())
|
||||
setup.push_back(args[++i]);
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -115,6 +114,8 @@ bool TestRunner::run(const std::vector<std::string>& args)
|
||||
{
|
||||
for (Mappings::iterator it = _mappings.begin(); it != _mappings.end(); ++it)
|
||||
{
|
||||
if (setup.size() > 0)
|
||||
it->second->addSetup(setup);
|
||||
if (!run(it->second)) success = false;
|
||||
numberOfTests++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user