[gnome-builder/gnome-builder-3-26] build: set GSETTINGS_SCHEMA_DIR for tests
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/gnome-builder-3-26] build: set GSETTINGS_SCHEMA_DIR for tests
- Date: Sun, 24 Sep 2017 18:51:07 +0000 (UTC)
commit 8353688fc10d33a032fc406da0cbd0de0fead139
Author: Christian Hergert <chergert redhat com>
Date: Sun Sep 24 11:50:05 2017 -0700
build: set GSETTINGS_SCHEMA_DIR for tests
We need access to the uninstalled gsettings schemas when running tests.
https://bugzilla.gnome.org/show_bug.cgi?id=788089
tests/meson.build | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tests/meson.build b/tests/meson.build
index 4946997..ab5563b 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -5,6 +5,7 @@ ide_test_env = [
'G_TEST_BUILDDIR=@0@'.format(meson.current_build_dir()),
'G_DEBUG=gc-friendly',
'GSETTINGS_BACKEND=memory',
+ 'GSETTINGS_SCHEMA_DIR=@0@/data/gsettings:$(GSETTINGS_SCHEMA_DIR)'.format(meson.build_root()),
'PYTHONDONTWRITEBYTECODE=yes',
'MALLOC_CHECK_=2',
# 'MALLOC_PERTURB_=$((${RANDOM:-256} % 256))',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]