tests: disable deprecation warnings for tests
authorRyan Lortie <desrt@desrt.ca>
Thu, 13 Oct 2011 14:51:35 +0000 (10:51 -0400)
committerRyan Lortie <desrt@desrt.ca>
Thu, 13 Oct 2011 14:51:35 +0000 (10:51 -0400)
We need to test deprecated functions, so don't warn us for doing so.

tests/Makefile.am
tests/gobject/Makefile.am
tests/refcount/Makefile.am

index 59d02a7..3d7705a 100644 (file)
@@ -2,8 +2,9 @@ include $(top_srcdir)/Makefile.decl
 
 SUBDIRS=gobject refcount
 
-AM_CPPFLAGS =                          \
-       $(gmodule_INCLUDES)             \
+AM_CPPFLAGS = \
+       $(gmodule_INCLUDES)                     \
+       -DGLIB_DISABLE_DEPRECATION_WARNINGS     \
        $(GLIB_DEBUG_FLAGS)
 
 AM_CFLAGS = -g
index 0ab5bf6..fcb4e23 100644 (file)
@@ -2,6 +2,7 @@ include $(top_srcdir)/Makefile.decl
 
 INCLUDES =                                     \
        $(gmodule_INCLUDES)                     \
+       -DGLIB_DISABLE_DEPRECATION_WARNINGS     \
        $(GLIB_DEBUG_FLAGS)
 
 libglib = $(top_builddir)/glib/libglib-2.0.la
index f904c1f..1c7d716 100644 (file)
@@ -2,6 +2,7 @@ include $(top_srcdir)/Makefile.decl
 
 INCLUDES =                                     \
        $(gmodule_INCLUDES)                     \
+       -DGLIB_DISABLE_DEPRECATION_WARNINGS     \
        $(GLIB_DEBUG_FLAGS)
 
 libglib = $(top_builddir)/glib/libglib-2.0.la