[tracker/libtracker-miner] Moved libtracker-miner test to separate directory test/



commit 2a3dad39a6dfd04e653282fc2aa993f9cb4a5217
Author: Martyn Russell <martyn imendio com>
Date:   Tue Aug 4 18:35:03 2009 +0100

    Moved libtracker-miner test to separate directory test/

 configure.ac                                       |    1 +
 src/libtracker-miner/Makefile.am                   |   23 ++-----------------
 src/libtracker-miner/{ => test}/tracker-main.c     |    0
 .../{ => test}/tracker-miner-test.c                |    0
 .../{ => test}/tracker-miner-test.h                |    0
 5 files changed, 4 insertions(+), 20 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 65f291a..2a5b086 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1432,6 +1432,7 @@ AC_CONFIG_FILES([
 	src/libtracker-gtk/Makefile
 	src/libtracker/Makefile
         src/libtracker-miner/Makefile
+        src/libtracker-miner/test/Makefile
 	src/Makefile
 	src/rasqal/Makefile
 	src/tracker-applet/Makefile
diff --git a/src/libtracker-miner/Makefile.am b/src/libtracker-miner/Makefile.am
index 2ec4997..182cf56 100644
--- a/src/libtracker-miner/Makefile.am
+++ b/src/libtracker-miner/Makefile.am
@@ -1,5 +1,7 @@
 include $(top_srcdir)/Makefile.decl
 
+SUBDIRS = . test
+
 INCLUDES =						\
 	-DSHAREDIR=\""$(datadir)"\"			\
 	-DG_LOG_DOMAIN=\"Tracker\"			\
@@ -78,23 +80,4 @@ BUILT_SOURCES = $(dbus_sources) $(marshal_sources)
 
 CLEANFILES = $(BUILT_SOURCES)
 
-EXTRA_DIST = tracker-marshal.list
-
-libexec_PROGRAMS = tracker-miner-test
-
-tracker_miner_test_SOURCES = 	\
-	tracker-miner-test.c 	\
-	tracker-miner-test.h 	\
-	tracker-main.c
-
-tracker_miner_test_LDADD = 				\
-	libtracker-miner.la			 	\
-	$(DBUS_LIBS)					\
-	$(GMODULE_LIBS)					\
-	$(GTHREAD_LIBS)					\
-	$(GIO_LIBS)					\
-	$(GCOV_LIBS)					\
-	$(GLIB2_LIBS)					\
-	$(RAPTOR_LIBS)					\
-	-lz						\
-	-lm
+EXTRA_DIST = tracker-marshal.list
\ No newline at end of file
diff --git a/src/libtracker-miner/tracker-main.c b/src/libtracker-miner/test/tracker-main.c
similarity index 100%
rename from src/libtracker-miner/tracker-main.c
rename to src/libtracker-miner/test/tracker-main.c
diff --git a/src/libtracker-miner/tracker-miner-test.c b/src/libtracker-miner/test/tracker-miner-test.c
similarity index 100%
rename from src/libtracker-miner/tracker-miner-test.c
rename to src/libtracker-miner/test/tracker-miner-test.c
diff --git a/src/libtracker-miner/tracker-miner-test.h b/src/libtracker-miner/test/tracker-miner-test.h
similarity index 100%
rename from src/libtracker-miner/tracker-miner-test.h
rename to src/libtracker-miner/test/tracker-miner-test.h



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