Commit 808524ad authored by Martyn Russell's avatar Martyn Russell

libtracker-extract: Cleaned up CFLAGS/LIBS for tests

parent 97463bea
......@@ -3,43 +3,24 @@ include $(top_srcdir)/Makefile.decl
noinst_PROGRAMS = $(TEST_PROGS)
TEST_PROGS += \
tracker-utils \
tracker-xmp
tracker-test-utils \
tracker-test-xmp
INCLUDES = \
$(BUILD_CFLAGS) \
-I$(top_srcdir)/src \
-I$(top_builddir)/src \
-I$(top_srcdir)/tests/common \
$(GLIB2_CFLAGS) \
$(GMODULE_CFLAGS) \
$(GTHREAD_CFLAGS) \
$(DBUS_CFLAGS)
$(LIBTRACKER_EXTRACT_CFLAGS)
tracker_utils_SOURCES = \
tracker-utils-test.c
tracker_utils_LDADD = \
LDADD = \
$(top_builddir)/tests/common/libtracker-testcommon.la \
$(top_builddir)/src/libtracker-common/libtracker-common.la \
$(top_builddir)/src/libtracker-extract/libtracker-extract-@TRACKER_API_VERSION@.la \
$(top_builddir)/src/libtracker-sparql/libtracker-sparql-@TRACKER_API_VERSION@.la \
$(BUILD_LIBS) \
$(GMODULE_LIBS) \
$(GTHREAD_LIBS) \
$(GOBJECT_LIBS) \
$(GLIB2_LIBS)
$(LIBTRACKER_EXTRACT_LIBS)
tracker_xmp_SOURCES = \
tracker-xmp-test.c
tracker_test_utils_SOURCES = tracker-test-utils.c
tracker_test_xmp_SOURCES = tracker-test-xmp.c
tracker_xmp_LDADD = \
$(top_builddir)/tests/common/libtracker-testcommon.la \
$(top_builddir)/src/libtracker-common/libtracker-common.la \
$(top_builddir)/src/libtracker-extract/libtracker-extract-@TRACKER_API_VERSION@.la \
$(top_builddir)/src/libtracker-client/libtracker-client-@TRACKER_API_VERSION@.la \
$(BUILD_LIBS) \
$(GMODULE_LIBS) \
$(GTHREAD_LIBS) \
$(GOBJECT_LIBS) \
$(GLIB2_LIBS)
......@@ -19,13 +19,14 @@
* Authors: Philip Van Hoof <philip@codeminded.be>
*/
#include "config.h"
#include <time.h>
#include <string.h>
#include <glib-object.h>
#include <libtracker-common/tracker-date-time.h>
#include <libtracker-extract/tracker-utils.h>
#include <libtracker-extract/tracker-extract.h>
#include <tracker-test-helpers.h>
......
......@@ -19,7 +19,6 @@
#include "config.h"
#include <glib.h>
#include <glib-object.h>
#include <libtracker-extract/tracker-extract.h>
......@@ -276,8 +275,8 @@ test_xmp_apply (void)
TrackerSparqlBuilder *metadata, *preupdate;
TrackerXmpData *data;
metadata = tracker_sparql_builder_new_update ();;
preupdate = tracker_sparql_builder_new_update ();;
metadata = tracker_sparql_builder_new_update ();
preupdate = tracker_sparql_builder_new_update ();
data = tracker_xmp_new (EXAMPLE_XMP, strlen (EXAMPLE_XMP), "urn:uuid:test");
g_assert (data != NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment