senfscons: Fix 'Object' build helper to work with empty source list in SCons 0.96.1
[senf.git] / PPI / DebugModules.test.cc
index 60cb8e8..a088012 100644 (file)
@@ -36,7 +36,9 @@ namespace {
     std::stringstream logstream;
 }
 
-#include "Packets/Packets.hh"
+#define SENF_LOG_CONF ((senf::log::Debug)(_)(VERBOSE))
+
+#include "../Packets/Packets.hh"
 #include "DebugModules.hh"
 #include "Setup.hh"
 
@@ -132,10 +134,10 @@ BOOST_AUTO_UNIT_TEST(activeFeederSink)
     BOOST_CHECK( source.empty() );
 }
 
-BOOST_AUTO_UNIT_TEST(logWriter)
+BOOST_AUTO_UNIT_TEST(logSink)
 {
     debug::ActiveFeederSource source;
-    debug::LogWriter<> sink;
+    debug::LogSink<> sink;
 
     ppi::connect(source,sink);
     senf::PacketData::byte data[] = { 0x13u, 0x24u, 0x35u };