Disable deprecation warnings in tests

We want to test deprecated properties, so failing the tests with
warnings is not productive.
This commit is contained in:
Matthias Clasen 2014-06-25 16:23:57 -04:00
parent 3708758fee
commit b9bd7159c0
3 changed files with 9 additions and 2 deletions

View File

@ -20,7 +20,10 @@ LDADD = \
# work around random file systems showing up in the file chooser,
# breaking the 'pickers' test
TESTS_ENVIRONMENT = GIO_USE_VOLUME_MONITOR=unix GSETTINGS_BACKEND=memory
TESTS_ENVIRONMENT = \
GIO_USE_VOLUME_MONITOR=unix \
GSETTINGS_BACKEND=memory \
G_ENABLE_DIAGNOSTIC=0
TEST_PROGS += accessibility-dump

View File

@ -25,6 +25,8 @@ LDADD = \
noinst_PROGRAMS = $(TEST_PROGS)
TESTS_ENVIRONMENT = G_ENABLE_DIAGNOSTIC=0
TEST_PROGS += \
accel \
accessible \

View File

@ -1,7 +1,9 @@
include $(top_srcdir)/Makefile.decl
NULL =
TESTS_ENVIRONMENT = GSETTINGS_BACKEND=memory
TESTS_ENVIRONMENT = \
GSETTINGS_BACKEND=memory \
G_ENABLE_DIAGNOSTIC=0
TEST_PROGS += gtk-reftest