[tracker] libtracker-extract: run xmp tests only in EXEMPI is available



commit 4cb9f4da1dce239e5326f06f134769492466a870
Author: Ivan Frade <ivan frade nokia com>
Date:   Fri Mar 19 12:24:36 2010 +0200

    libtracker-extract: run xmp tests only in EXEMPI is available

 tests/libtracker-extract/tracker-xmp-test.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/tests/libtracker-extract/tracker-xmp-test.c b/tests/libtracker-extract/tracker-xmp-test.c
index 3b18c3e..6e20041 100644
--- a/tests/libtracker-extract/tracker-xmp-test.c
+++ b/tests/libtracker-extract/tracker-xmp-test.c
@@ -310,6 +310,7 @@ main (int    argc,
         
 	g_test_message ("Testing XMP");
 
+#ifdef HAVE_EXEMPI
 	g_test_add_func ("/libtracker-extract/tracker-xmp/parsing_xmp",
                          test_parsing_xmp);
 
@@ -322,10 +323,10 @@ main (int    argc,
         g_test_add_func ("/libtracker-extract/tracker-xmp/sparql_translation",
                          test_xmp_apply);
 
+#endif
         g_test_add_func ("/libtracker-extract/tracker-xmp/sparql_translation_location",
                          test_xmp_apply_location);
 
-
         result = g_test_run ();
         
 	return result;



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