From: g0dil Date: Wed, 11 Aug 2010 15:02:12 +0000 (+0000) Subject: Packets: Fix annotation unit-test for 'final=1' X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=5c330db423b5bbfa1b376d55a83e44bbc299bdd8;p=senf.git Packets: Fix annotation unit-test for 'final=1' git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1676 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/senf/Packets/Packet.test.cc b/senf/Packets/Packet.test.cc index 5b318d1..e735207 100644 --- a/senf/Packets/Packet.test.cc +++ b/senf/Packets/Packet.test.cc @@ -335,6 +335,7 @@ SENF_AUTO_UNIT_TEST(packetAnnotation) BOOST_CHECK( Reg::lookup() < 0 ); BOOST_CHECK( Reg::lookup() < 0 ); +#ifdef SENF_DEBUG std::stringstream ss; senf::dumpPacketAnnotationRegistry(ss); @@ -347,6 +348,7 @@ SENF_AUTO_UNIT_TEST(packetAnnotation) " (anonymous namespace)::ComplexAnnotation yes 8\n" " (anonymous namespace)::LargeAnnotation no 32\n" " 0 (anonymous namespace)::IntAnnotation no 4\n" ); +#endif } #ifdef COMPILE_CHECK