[tracker] Another distcheck fix.



commit fcd16c0d4af6685e6d8a2b4291982d11786bc78e
Author: Carlos Garnacho <carlosg gnome org>
Date:   Thu Mar 18 17:26:52 2010 +0100

    Another distcheck fix.
    
    Don't tell tests about relative paths.

 tests/libtracker-miner/Makefile.am                 |    1 +
 .../libtracker-miner/tracker-miner-manager-test.c  |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/tests/libtracker-miner/Makefile.am b/tests/libtracker-miner/Makefile.am
index 27635be..4541c5e 100644
--- a/tests/libtracker-miner/Makefile.am
+++ b/tests/libtracker-miner/Makefile.am
@@ -15,6 +15,7 @@ INCLUDES = 									\
 	-DLIBEXEC_PATH=\""$(libexecdir)"\"					\
 	-DTRACKER_COMPILATION							\
 	-DTEST_DATA_DIR=\""$(abs_top_srcdir)/tests/libtracker-miner/data"\"	\
+	-DTEST_MINERS_DIR=\""$(abs_top_srcdir)/tests/libtracker-miner/mock-miners"\"	\
 	-I$(top_srcdir)/src							\
 	-I$(top_srcdir)/tests/common						\
 	-I$(top_builddir)/src/tracker-store					\
diff --git a/tests/libtracker-miner/tracker-miner-manager-test.c b/tests/libtracker-miner/tracker-miner-manager-test.c
index 1cec295..a0c2149 100644
--- a/tests/libtracker-miner/tracker-miner-manager-test.c
+++ b/tests/libtracker-miner/tracker-miner-manager-test.c
@@ -138,7 +138,7 @@ main (int    argc,
 	g_test_message ("Testing miner manager");
 
         miners_mock_init ();
-        g_setenv ("TRACKER_MINERS_DIR", "./mock-miners", TRUE);
+        g_setenv ("TRACKER_MINERS_DIR", TEST_MINERS_DIR, TRUE);
         manager = tracker_miner_manager_new ();
 
 	g_test_add_func ("/libtracker-miner/tracker-miner-manager/get_running",



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