From b66ac6506158c98651dddb0c8211a4fbaae09034 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Wed, 30 Jul 2003 12:16:32 +0000 Subject: [PATCH] Disabled tests that are causing problems for the regression testers [SVN r19361] --- test/regress/regress.cpp | 6 ++++++ test/regress/regress.h | 10 ++++++++++ 2 files changed, 16 insertions(+) diff --git a/test/regress/regress.cpp b/test/regress/regress.cpp index a6f7f040..4d50e118 100644 --- a/test/regress/regress.cpp +++ b/test/regress/regress.cpp @@ -294,7 +294,13 @@ int cpp_main(int argc, char * argv[]) { std::cout << "\n\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 "\n"; return 0; } diff --git a/test/regress/regress.h b/test/regress/regress.h index 14753f21..fcd1ac9d 100644 --- a/test/regress/regress.h +++ b/test/regress/regress.h @@ -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