tests: disable deprecation warnings for tests

We need to test deprecated functions, so don't warn us for doing so.
This commit is contained in:
Ryan Lortie 2011-10-13 10:51:35 -04:00
parent 3ebdb4d46a
commit fd382156b8
3 changed files with 5 additions and 2 deletions

View 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

View 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

View 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