Disabled tests that are causing problems for the regression testers

[SVN r19361]
This commit is contained in:
John Maddock
2003-07-30 12:16:32 +00:00
parent d695b70ee9
commit b66ac65061
2 changed files with 16 additions and 0 deletions

View File

@ -294,7 +294,13 @@ int cpp_main(int argc, char * argv[])
{
std::cout <<
"\n<note>\n"
#if defined(BOOST_NO_WREGEX) && defined(TEST_UNICODE)
"This platform does not provide the needed wide character support for this test.\n"
#elif defined(BOOST_REGEX_DYN_LINK)
"Dynamic linking with this compiler is known not to work in this case - please complain to your compiler vendor.\n"
#else
"This test has been disabled due to a compiler bug - please complain to your compiler vendor.\n"
#endif
"</note>\n";
return 0;
}

View File

@ -31,6 +31,16 @@
# define BOOST_REGEX_NO_TEST
#endif
#if defined(__CYGWIN__) && defined(BOOST_REGEX_DYN_LINK)
// dll tests don't work under cygwin (linking fails, looks like a compiler bug)
# define BOOST_REGEX_NO_TEST
#endif
#if defined(__GNUC__) && (__GNUC__ < 3) && defined(_STLP_VERSION) && defined(BOOST_REGEX_DYN_LINK)
// gcc2.95 + STLport runs out of memory trying to link, looks like a compiler bug...
# define BOOST_REGEX_NO_TEST
#endif
#ifndef BOOST_REGEX_NO_TEST
#ifdef BOOST_RE_OLD_IOSTREAM