diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-06-25 16:23:57 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-06-25 16:29:08 -0400 |
commit | b9bd7159c0b2ed6a6df4e2e01a91c4848b181414 (patch) | |
tree | 576174dbf8839f34f852591c9679711926a35ebc /testsuite | |
parent | 3708758fee7e700efedfbf2eaf56fc64e1f52494 (diff) | |
download | gtk+-b9bd7159c0b2ed6a6df4e2e01a91c4848b181414.tar.gz |
Disable deprecation warnings in tests
We want to test deprecated properties, so failing the tests with
warnings is not productive.
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/a11y/Makefile.am | 5 | ||||
-rw-r--r-- | testsuite/gtk/Makefile.am | 2 | ||||
-rw-r--r-- | testsuite/reftests/Makefile.am | 4 |
3 files changed, 9 insertions, 2 deletions
diff --git a/testsuite/a11y/Makefile.am b/testsuite/a11y/Makefile.am index 96e3e8b2b7..b921a37918 100644 --- a/testsuite/a11y/Makefile.am +++ b/testsuite/a11y/Makefile.am @@ -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 diff --git a/testsuite/gtk/Makefile.am b/testsuite/gtk/Makefile.am index d8031ad64b..0993b85fd5 100644 --- a/testsuite/gtk/Makefile.am +++ b/testsuite/gtk/Makefile.am @@ -25,6 +25,8 @@ LDADD = \ noinst_PROGRAMS = $(TEST_PROGS) +TESTS_ENVIRONMENT = G_ENABLE_DIAGNOSTIC=0 + TEST_PROGS += \ accel \ accessible \ diff --git a/testsuite/reftests/Makefile.am b/testsuite/reftests/Makefile.am index c9fad6cc5e..702a0fc015 100644 --- a/testsuite/reftests/Makefile.am +++ b/testsuite/reftests/Makefile.am @@ -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 |