X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FIteratorTraits.test.cc;h=d874e2294c091a95f24b89ce8b28f6b2aec6ddbc;hb=ac86c2bb40746fbedf70a19af3307e5da642b04a;hp=6687d8e69a2b4998ef9633d3fe39819668dcd3be;hpb=766dfa49e68e67e71c12c1a5a89d51be39fda9b8;p=senf.git diff --git a/Utils/IteratorTraits.test.cc b/Utils/IteratorTraits.test.cc index 6687d8e..d874e22 100644 --- a/Utils/IteratorTraits.test.cc +++ b/Utils/IteratorTraits.test.cc @@ -1,3 +1,5 @@ +// $Id$ +// // Copyright (C) 2007 // Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) // Kompetenzzentrum fuer Satelitenkommunikation (SatCom) @@ -38,7 +40,8 @@ BOOST_AUTO_UNIT_TEST(iteratorTraits) { BOOST_CHECK_EQUAL( senf::contiguous_storage_iterator::value, true ); -#ifdef __GNUG__ + BOOST_CHECK_EQUAL( senf::contiguous_storage_iterator::value, false ); +#if defined(__GNUG__) && ! defined(_GLIBCXX_DEBUG) BOOST_CHECK_EQUAL( senf::contiguous_storage_iterator::iterator>::value, true); BOOST_CHECK_EQUAL( senf::contiguous_storage_iterator::value, true); #endif @@ -54,4 +57,6 @@ BOOST_AUTO_UNIT_TEST(iteratorTraits) // c-file-style: "senf" // indent-tabs-mode: nil // ispell-local-dictionary: "american" +// compile-command: "scons -u test" +// comment-column: 40 // End: