tests: Add a logging domain for the unit tests
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Fri, 8 Aug 2014 08:26:11 +0000 (09:26 +0100)
committerOlivier CrĂȘte <olivier.crete@collabora.com>
Thu, 21 Aug 2014 18:33:11 +0000 (14:33 -0400)
This clarifies the log output a little.

tests/Makefile.am

index 19deff5..ec6961e 100644 (file)
@@ -17,6 +17,7 @@ AM_CFLAGS = \
        -I $(top_srcdir)/random \
        -I $(top_srcdir)/socket \
        -I $(top_srcdir)/stun
+AM_CPPFLAGS = -DG_LOG_DOMAIN=\"libnice-tests\"
 
 COMMON_LDADD = $(top_builddir)/agent/libagent.la $(top_builddir)/socket/libsocket.la $(GLIB_LIBS) $(GUPNP_LIBS)