mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 14:36:13 +01:00
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:
parent
0b10c41a04
commit
deeacce18a
@ -15,6 +15,7 @@ LDADD = \
|
|||||||
AM_CPPFLAGS = $(gio_INCLUDES) $(GLIB_DEBUG_FLAGS) -I$(top_builddir)/gio -I$(top_srcdir)/gio
|
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"\"
|
DEFS = -DG_LOG_DOMAIN=\"GLib-GIO\" -DTEST_SERVICES=\""$(abs_top_builddir)/gio/tests/services"\"
|
||||||
AM_CFLAGS = $(GLIB_WARN_CFLAGS)
|
AM_CFLAGS = $(GLIB_WARN_CFLAGS)
|
||||||
|
AM_TESTS_ENVIRONMENT += GIO_MODULE_DIR=
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
# Test programs buildable on all platforms
|
# Test programs buildable on all platforms
|
||||||
|
@ -67,6 +67,7 @@ test_extra_programs = [
|
|||||||
test_env = [
|
test_env = [
|
||||||
'G_TEST_SRCDIR=' + meson.current_source_dir(),
|
'G_TEST_SRCDIR=' + meson.current_source_dir(),
|
||||||
'G_TEST_BUILDDIR=' + meson.current_build_dir(),
|
'G_TEST_BUILDDIR=' + meson.current_build_dir(),
|
||||||
|
'GIO_MODULE_DIR=',
|
||||||
]
|
]
|
||||||
|
|
||||||
test_c_args = [
|
test_c_args = [
|
||||||
|
Loading…
Reference in New Issue
Block a user