diff options
author | Martyn Russell <martyn@lanedo.com> | 2010-11-10 15:55:31 +0000 |
---|---|---|
committer | Martyn Russell <martyn@lanedo.com> | 2010-11-10 15:55:31 +0000 |
commit | 523fea445befb07103f7827779328c16e5026f86 (patch) | |
tree | f39239b5fe6246da006ba25a9d0a55f314ad22d3 /tests/functional-tests/ipc | |
parent | b4420c7190e79f3418413218cab06dc3204f3640 (diff) | |
download | tracker-523fea445befb07103f7827779328c16e5026f86.tar.gz |
functional-tests: Fixed build for ipc/ tests
Now we need to link with D-Bus where we actually use those APIs still
for testing purposes.
Diffstat (limited to 'tests/functional-tests/ipc')
-rw-r--r-- | tests/functional-tests/ipc/Makefile.am | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/functional-tests/ipc/Makefile.am b/tests/functional-tests/ipc/Makefile.am index 8da9f8e96..fe2112094 100644 --- a/tests/functional-tests/ipc/Makefile.am +++ b/tests/functional-tests/ipc/Makefile.am @@ -1,5 +1,13 @@ include $(top_srcdir)/Makefile.decl +# Note: Even though we now use GDBus, we still link with +# dbus-glib-1 for some of the below tests because we use +# their raw APIs to test with, specifically: +# +# test-busy-handling +# test-class-signal +# test-class-signal-performance +# noinst_PROGRAMS = \ test-busy-handling \ test-direct-query \ @@ -32,6 +40,15 @@ LDADD = \ test_busy_handling_SOURCES = \ test-busy-handling.vala +test_busy_handling_CFLAGS = \ + $(AM_CPPFLAGS) \ + $(TRACKER_DBUS_CFLAGS) +test_busy_handling_VALAFLAGS = \ + --pkg dbus-glib-1 \ + $(AM_VALAFLAGS) +test_busy_handling_LDADD = \ + $(LDADD) \ + $(TRACKER_DBUS_LIBS) test_direct_query_SOURCES = \ test-shared-query.vala \ @@ -54,6 +71,24 @@ test_bus_update_SOURCES = \ test_class_signal_SOURCES = \ test-class-signal.vala +test_class_signal_CFLAGS = \ + $(AM_CPPFLAGS) \ + $(TRACKER_DBUS_CFLAGS) +test_class_signal_VALAFLAGS = \ + --pkg dbus-glib-1 \ + $(AM_VALAFLAGS) +test_class_signal_LDADD = \ + $(LDADD) \ + $(TRACKER_DBUS_LIBS) test_class_signal_performance_SOURCES = \ test-class-signal-performance.vala +test_class_signal_performance_CFLAGS = \ + $(AM_CPPFLAGS) \ + $(TRACKER_DBUS_CFLAGS) +test_class_signal_performance_VALAFLAGS = \ + --pkg dbus-glib-1 \ + $(AM_VALAFLAGS) +test_class_signal_performance_LDADD = \ + $(LDADD) \ + $(TRACKER_DBUS_LIBS) |