From 54ae365c98dfcbe86d046ae45c79a484fad3f22d Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Fri, 24 Jun 2005 18:47:21 +0000 Subject: [PATCH] Further generalized vc6 workaround [SVN r29788] --- test/Jamfile | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/test/Jamfile b/test/Jamfile index f1750bf..f240d69 100644 --- a/test/Jamfile +++ b/test/Jamfile @@ -8,6 +8,17 @@ subproject libs/iterator/test ; import testing ; +rule vc6-stlport-debug-inlining ( toolset variant : non-defaults * ) +{ + if [ MATCH (vc-(6[_0-9]*)-stlport) : $(toolset) ] + && ( off in $(non-defaults) ) + { + non-defaults = [ difference $(non-defaults) : off ] + on ; + } + return $(non-defaults) ; +} + test-suite iterator : # These first two tests will run last, and are expected to fail @@ -19,12 +30,12 @@ test-suite iterator [ run is_convertible_fail.cpp ] [ run zip_iterator_test.cpp - : : : + : : : vc6-stlport-debug-inlining # stlport's debug mode generates long symbols which overwhelm # vc6 unless you turn on inlining - <*>-Ob1 - <*>-Ob1 +# <*>-Ob1 +# <*>-Ob1 ] # These tests should work for just about everything.