[PATCH 1/6] tests: Use built modules instead of installed ones



After the removal of g_local_directory_monitor_get_type() the gio
test suite may fail with

  undefined symbol: g_local_directory_monitor_get_type

when using the installed modules instead of the just built ones.

Signed-off-by: Ingo Brückl <ib wupperonline de>
---
 gio/tests/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gio/tests/Makefile.am b/gio/tests/Makefile.am
index 749267b..bd1c196 100644
--- a/gio/tests/Makefile.am
+++ b/gio/tests/Makefile.am
@@ -19,6 +19,8 @@ AM_CFLAGS = $(GLIB_WARN_CFLAGS)
 # -----------------------------------------------------------------------------
 #  Test programs buildable on all platforms

+TESTS_ENVIRONMENT += GIO_MODULE_DIR="$(abs_builddir)$(subdir)/.libs"
+
 test_programs = \
        appmonitor                              \
        async-close-output-stream               \
--
2.8.2



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