[gjs/april-maintenance: 2/3] tests: Use memory GSettings backend



commit 448e568c64f37cd7051fc67904de9ba8b0960cbf
Author: Philip Chimento <philip chimento gmail com>
Date:   Fri May 1 15:55:53 2020 -0700

    tests: Use memory GSettings backend
    
    We don't want the GSettings test in testGio.js trying to contact a real
    dconf daemon.

 meson.build | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/meson.build b/meson.build
index 687a3541..5378ac5a 100644
--- a/meson.build
+++ b/meson.build
@@ -577,6 +577,7 @@ tests_environment.set('LSAN_OPTIONS', 'exitcode=23,suppressions=@0@'.format(
     meson.current_source_dir() / 'installed-tests' / 'extra' / 'lsan.supp'))
 tests_environment.set('NO_AT_BRIDGE', '1')
 tests_environment.set('GSETTINGS_SCHEMA_DIR', js_tests_builddir)
+tests_environment.set('GSETTINGS_BACKEND', 'memory')
 tests_environment.set('G_DEBUG', 'fatal-warnings,fatal-criticals')
 
 tests_locale = 'N/A'


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