mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 02:53:10 +01:00
Display ignored tests
This commit is contained in:
@@ -39,13 +39,16 @@ void TextTestResult::setup()
|
|||||||
std::string ignored = env;
|
std::string ignored = env;
|
||||||
std::string::const_iterator it = ignored.begin();
|
std::string::const_iterator it = ignored.begin();
|
||||||
std::string::const_iterator end = ignored.end();
|
std::string::const_iterator end = ignored.end();
|
||||||
while (it != end)
|
for (;;)
|
||||||
{
|
{
|
||||||
while (it != end && (std::isspace(*it) || *it == '"' || *it == '\'')) ++it;
|
while (it != end && (std::isspace(*it) || *it == '"' || *it == ',' || *it == '\'')) ++it;
|
||||||
|
if (it == end)
|
||||||
|
break;
|
||||||
|
|
||||||
std::string test;
|
std::string test;
|
||||||
while (it != end && *it != ',' && *it != '"' && *it != '\'') test += *it++;
|
while (it != end && *it != ',' && *it != '"' && *it != '\'') test += *it++;
|
||||||
if (it != end && (*it == ',' || *it == '"' || *it == '\'')) ++it;
|
|
||||||
if (!test.empty()) _ignored.insert(test);
|
if (!test.empty()) _ignored.insert(test);
|
||||||
|
_ostr << "ignored: " << test << std::endl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user