X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2FIteratorTraits.test.cc;h=4a830d6c1a5447f1f1b368e8ee0f53f1348b6984;hb=8488a803a9e1dfa293af161eb271503990d6fdd3;hp=6687d8e69a2b4998ef9633d3fe39819668dcd3be;hpb=766dfa49e68e67e71c12c1a5a89d51be39fda9b8;p=senf.git diff --git a/Utils/IteratorTraits.test.cc b/Utils/IteratorTraits.test.cc index 6687d8e..4a830d6 100644 --- a/Utils/IteratorTraits.test.cc +++ b/Utils/IteratorTraits.test.cc @@ -1,6 +1,8 @@ -// Copyright (C) 2007 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) +// $Id$ +// +// Copyright (C) 2007 +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund // // This program is free software; you can redistribute it and/or modify @@ -29,7 +31,7 @@ #include #include -#include +#include "../Utils/auto_unit_test.hh" #include #define prefix_ @@ -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: