diff options
author | Ryan Lortie <desrt@desrt.ca> | 2011-10-13 10:51:35 -0400 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2011-10-13 10:51:35 -0400 |
commit | fd382156b80a0ba848d6de7e009337fdb32221d9 (patch) | |
tree | 594288c069ddf3c22352d43299ed67fec1db117b /tests | |
parent | 3ebdb4d46a97790e0d93db3e2411b44e46da0159 (diff) | |
download | glib-fd382156b80a0ba848d6de7e009337fdb32221d9.tar.gz |
tests: disable deprecation warnings for tests
We need to test deprecated functions, so don't warn us for doing so.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.am | 5 | ||||
-rw-r--r-- | tests/gobject/Makefile.am | 1 | ||||
-rw-r--r-- | tests/refcount/Makefile.am | 1 |
3 files changed, 5 insertions, 2 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 59d02a7f0..3d7705af2 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -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 diff --git a/tests/gobject/Makefile.am b/tests/gobject/Makefile.am index 0ab5bf64c..fcb4e2348 100644 --- a/tests/gobject/Makefile.am +++ b/tests/gobject/Makefile.am @@ -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 diff --git a/tests/refcount/Makefile.am b/tests/refcount/Makefile.am index f904c1f77..1c7d71648 100644 --- a/tests/refcount/Makefile.am +++ b/tests/refcount/Makefile.am @@ -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 |