Do not load systemwide giomodules during self-test

$libdir/gio/modules/*.so on the live build machine are supplied by
third parties, so we should not look there while testing ourselves.

https://bugzilla.gnome.org/show_bug.cgi?id=780309
This commit is contained in:
Daniel Macks 2017-11-20 03:28:17 -05:00 committed by Philip Withnall
parent 0b10c41a04
commit deeacce18a
2 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,7 @@ LDADD = \
AM_CPPFLAGS = $(gio_INCLUDES) $(GLIB_DEBUG_FLAGS) -I$(top_builddir)/gio -I$(top_srcdir)/gio
DEFS = -DG_LOG_DOMAIN=\"GLib-GIO\" -DTEST_SERVICES=\""$(abs_top_builddir)/gio/tests/services"\"
AM_CFLAGS = $(GLIB_WARN_CFLAGS)
AM_TESTS_ENVIRONMENT += GIO_MODULE_DIR=
# -----------------------------------------------------------------------------
# Test programs buildable on all platforms

View File

@ -67,6 +67,7 @@ test_extra_programs = [
test_env = [
'G_TEST_SRCDIR=' + meson.current_source_dir(),
'G_TEST_BUILDDIR=' + meson.current_build_dir(),
'GIO_MODULE_DIR=',
]
test_c_args = [