[gtk+] Use the memory settings backend for make check



commit 1faf3a0aaa55b9e9c9a829a0ad1d69a44d089921
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Jan 21 21:13:57 2014 -0500

    Use the memory settings backend for make check
    
    The color chooser test is constantly running into the
    problem that the custom color setting is not empty.
    Avoid that by using the memory settings backend.

 testsuite/a11y/Makefile.am     |    2 +-
 testsuite/reftests/Makefile.am |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/testsuite/a11y/Makefile.am b/testsuite/a11y/Makefile.am
index 91abf76..1581055 100644
--- a/testsuite/a11y/Makefile.am
+++ b/testsuite/a11y/Makefile.am
@@ -20,7 +20,7 @@ LDADD = \
 
 # work around random file systems showing up in the file chooser,
 # breaking the 'pickers' test
-TESTS_ENVIRONMENT = GIO_USE_VOLUME_MONITOR=unix
+TESTS_ENVIRONMENT = GIO_USE_VOLUME_MONITOR=unix GSETTINGS_BACKEND=memory
 
 TEST_PROGS += accessibility-dump
 
diff --git a/testsuite/reftests/Makefile.am b/testsuite/reftests/Makefile.am
index 3b74f96..fa532eb 100644
--- a/testsuite/reftests/Makefile.am
+++ b/testsuite/reftests/Makefile.am
@@ -1,6 +1,8 @@
 include $(top_srcdir)/Makefile.decl
 NULL =
 
+TESTS_ENVIRONMENT = GSETTINGS_BACKEND=memory
+
 TEST_PROGS += gtk-reftest
 
 check_PROGRAMS = $(TEST_PROGS)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]