forked from boostorg/regex
mingw dll specific fixes.
Disable one SGI test - compiler deduces template arguments strangely. [SVN r25270]
This commit is contained in:
@ -35,7 +35,10 @@ void test_captures(const std::string& regx, const std::string& text, T& expected
|
||||
if(boost::regex_match(text, what, e, boost::match_extra))
|
||||
{
|
||||
unsigned i, j;
|
||||
#ifndef __sgi
|
||||
// strange type deduction causes this test to fail on SGI:
|
||||
BOOST_TEST(what.size() == ARRAY_SIZE(expected));
|
||||
#endif
|
||||
for(i = 0; i < what.size(); ++i)
|
||||
{
|
||||
BOOST_TEST(what.captures(i).size() <= ARRAY_SIZE(expected[i]));
|
||||
|
Reference in New Issue
Block a user