Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8559: Impossible to run single test case if name contains whitespace
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-05-14 06:33:55
#8559: Impossible to run single test case if name contains whitespace
--------------------------------------+-------------------------------------
Reporter: Kamil.Witecki@⦠| Owner: rogeeff
Type: Bugs | Status: new
Milestone: To Be Determined | Component: test
Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
--------------------------------------+-------------------------------------
Comment (by anonymous):
Replying to [comment:1 hanna@â¦]:
> It appears that not only spaces, but also commas cause the same problem,
since they appear in std::string typeid(T).name. Patch should be
complemented with:
>
> {{{#!c++
> std::replace(full_name.begin(), full_name.end(), boost::is_any_of(" ,"),
'_');
> }}}
Of course, not {{{std::replace(...)}}} but:
{{{#!c++
std::replace_if(...)
}}}
in this case should be used.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8559#comment:2> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:13 UTC