After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 521787 - Unit tests in tracker
Unit tests in tracker
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: General
unspecified
Other All
: Normal enhancement
: ---
Assigned To: Jamie McCracken
Jamie McCracken
Depends on:
Blocks:
 
 
Reported: 2008-03-11 15:32 UTC by Ivan Frade
Modified: 2008-10-13 12:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Unit test changes in autotools + tracker-log tests (17.95 KB, patch)
2008-03-11 15:36 UTC, Ivan Frade
none Details | Review
Unit test changes in autotools + tracker-log-tests (2) (20.55 KB, patch)
2008-03-11 17:36 UTC, Ivan Frade
none Details | Review

Description Ivan Frade 2008-03-11 15:32:16 UTC
Tracker requires some changes in the build chain to allow programmers to write unit tests.
Comment 1 Ivan Frade 2008-03-11 15:36:27 UTC
Created attachment 107064 [details] [review]
Unit test changes in autotools + tracker-log tests

This test modifies:

1) configure.ac : to enable/disable the unit tests depending on glib version and user configuration
2) all Makefile.am in the project: to include Makefile.decl which contains the "test" rules
3) create tests/ folder in libtracker-common and add a new test for the logger. Could be used as example of future tests.
Comment 2 Ivan Frade 2008-03-11 17:36:52 UTC
Created attachment 107077 [details] [review]
Unit test changes in autotools + tracker-log-tests (2)

Makefile.decl was missing in previous patch
Comment 3 Ivan Frade 2008-10-13 12:10:59 UTC
Committed ages ago in indexer-split and now merged in trunk. Close as fixed.