Commit 59f2a856 authored by Ivan Frade's avatar Ivan Frade Committed by Martyn Russell

tests/libtracker-miner: Compile correctly monitor tests to get coverage

When gcov is enabled, libtracker-miner exports all symbols and no compilation
against the source code files is needed. Compiling against the library
also gives us coverage information of the test.
parent f8bbea22
......@@ -77,9 +77,13 @@ tracker_thumbnailer_test_SOURCES = \
empty-gobject.c
tracker_monitor_test_SOURCES = \
$(libtracker_miner_marshal_sources) \
$(libtracker_miner_monitor_sources) \
tracker-monitor-test.c
if !ENABLE_GCOV
# If gcov is enabled, libtracker-miner exports all symbols and this is not needed.
tracker_monitor_test_SOURCES += \
$(libtracker_miner_marshal_sources) \
$(libtracker_miner_monitor_sources)
endif
tracker_priority_queue_test_SOURCES = \
tracker-priority-queue-test.c
......
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