summaryrefslogtreecommitdiff
path: root/tests/common
Commit message (Collapse)AuthorAgeFilesLines
* build: Drop autotoolswip/carlosg/drop-autotoolsCarlos Garnacho2018-09-091-18/+0
|
* meson: Replace all source_root() and build_root() callsSam Thursfield2017-08-041-1/+1
| | | | | These functions need to be avoided so that Tracker doesn't break when included via subproject() into another Meson project.
* Distribute meson.build files in tarballs generated by AutotoolsSam Thursfield2017-05-221-0/+1
| | | | | | | This is useful for people who are not building from Git but still want to avoid Autotools. See: https://mail.gnome.org/archives/desktop-devel-list/2017-April/msg00091.html
* Meson build instructions for TrackerSam Thursfield2017-05-221-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See <http://mesonbuild.com/> for information about Meson. Remaining issues: * There's no `make dist` equivalent. We currently produce release tarballs containing the output files of the Vala compiler. We need to think through whether we can stop doing that. Shipping the generated .c files does make the Vala preprocessor useless so it would be good if we can stop. * The Firefox, Thunderbird, Evolution and Nautilus plugins are not built * https://github.com/mesonbuild/meson/issues/671 -- means we can't depend on tracker_common_dep in most places and have to manually set link_with, include_directories and sources instead. * https://github.com/mesonbuild/meson/issues/1469 -- without this we have to install generated Vala headers using a script * https://github.com/mesonbuild/meson/issues/1229 -- means adding the #include guard to libtracker-sparql/tracker-generated-no-checks.h is a pain * The test suite has some spurious failures. Here's a rough speed comparison. Meson: time sh -c 'meson .. --prefix=/opt/tracker-meson -D bash_completion=/opt/tracker-meson/share/bash-completion -Dsystemd_user_services=/opt/tracker-meson/lib/systemd/user -Ddbus_services=/opt/tracker-meson/share/dbus-1/services && ninja-build -j 4 && ninja-build install' real 1m8.194s user 2m16.962s sys 0m20.532s Autotools: time sh -c './configure --prefix=/opt/tracker-autotools --with-bash-completion-dir=/opt/tracker-autotools/share/bash-completion --with-session-bus-services-dir=/opt/tracker-autotools/share/dbus-1/services --disable-nautilus-extension && make -j 4 && make install' real 2m37.750s user 4m37.214s sys 0m54.806s Plus 30+ seconds of ./autogen.sh first. Note that Meson builds may fail if your source tree has generated files from an Autotools build in there. If you see errors about duplicate definitions, first try cleaning your source tree (use `git clean -dfx`, but make sure you commit any work first!!)
* tests: Updated gtester scripts to improve testing systemMartyn Russell2014-02-201-1/+1
| | | | | | | | | | | | | | | We imported Makefile.decl from glib when it was using Subversion, a long time ago. The script had a few issues (like running all unit tests twice on make distcheck) and needed to be updated. I've stolen a latest version from GLib's glib.mk and also their m4 macros which are required to make this all work too. This gives us the advantage of defining installable and uninstallable test cases as well as test data, scripts and other useful stuff. The debug output also looks quite good. And distcheck passes :)
* build: remove no longer needed glib version dependent code pathsAleksander Morgado2013-10-101-4/+0
| | | | We require GLib 2.35.x, no need to check for previous versions.
* tests: Use g_assert_cmpstr instead of our own implementationIvan Frade2011-10-282-24/+0
| | | | | tracker_test_helpers_cmpstr_equals was written when g_assert_cmpstr didn't exist but both had the same intention.
* build: Replaced all trailing tabs before \ for spaces in Makefile.amsMartyn Russell2010-10-271-7/+7
| | | | Also standardise the width to 55 characters (unless line is longer)
* build: Use AM_CPPFLAGS now INCLUDES is deprecatedMartyn Russell2010-10-271-1/+1
|
* tests/common: Cleaned up CFLAGS/LIBSMartyn Russell2010-10-271-9/+9
|
* tests/common: Cleaned up CFLAGS/LIBSMartyn Russell2010-10-271-4/+3
|
* Change Urho's contact name for Ivan'sMartyn Russell2010-03-292-2/+2
|
* Fixes GB#572237, Remove deprecated Glib symbolsJavier Jardón2010-01-041-0/+4
|
* Removed first line in all *.[ch] files defining tab width, etc.Martyn Russell2009-12-152-2/+0
| | | | | | | This removes the following line: /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ This is not needed and editors should work without this anyway.
* Merged whitespace branchMartyn Russell2009-12-112-3/+3
|
* src/libtracker/Makefile.am src/tracker-fts/Makefile.amPhilip Van Hoof2009-02-251-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-02-25 Philip Van Hoof <philip@codeminded.be> * src/libtracker/Makefile.am * src/tracker-fts/Makefile.am * src/tracker-indexer/modules/Makefile.am * src/tracker-indexer/Makefile.am * src/tracker-utils/Makefile.am * src/tracker-preferences/Makefile.am * src/trackerd/Makefile.am * src/tracker-extract/Makefile.am * src/libstemmer/Makefile.am * src/libtracker-db/Makefile.am * src/libtracker-common/Makefile.am * src/libinotify/Makefile.am * src/tracker-search-tool/Makefile.am * tests/trackerd/Makefile.am * tests/tracker-extract/Makefile.am * tests/libtracker-db/Makefile.am * tests/tracker-indexer/Makefile.am * tests/common/Makefile.am * tests/libtracker-common/Makefile.am * configure.ac: Added support for coverage reporting svn path=/trunk/; revision=2973
* Fixed Makefiles so we include WARN_CFLAGS in all files. Some files wereMartyn James Russell2009-02-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * docs/reference/libtracker-common/Makefile.am: * docs/reference/libtracker-module/Makefile.am: * src/libinotify/Makefile.am: * src/libstemmer/Makefile.am: * src/libtracker-common/Makefile.am: * src/libtracker-data/Makefile.am: * src/libtracker-db/Makefile.am: * src/libtracker-gtk/Makefile.am: * src/plugins/evolution/Makefile.am: * src/plugins/kmail/Makefile.am: * src/plugins/rss/Makefile.am: * src/tracker-applet/Makefile.am: * src/tracker-extract/Makefile.am: * src/tracker-fts/Makefile.am: * src/tracker-indexer/Makefile.am: * src/tracker-indexer/modules/Makefile.am: * src/tracker-preferences/Makefile.am: * src/tracker-search-tool/Makefile.am: * src/tracker-utils/Makefile.am: * src/trackerd/Makefile.am: * tests/common/Makefile.am: * tests/libtracker-common/Makefile.am: * tests/libtracker-db/Makefile.am: * tests/tracker-extract/Makefile.am: * tests/tracker-indexer/Makefile.am: * tests/trackerd/Makefile.am: * tests/trackerd/xesam/Makefile.am: * utils/qdbm/Makefile.am: * utils/tracker-fts/Makefile.am: Fixed Makefiles so we include WARN_CFLAGS in all files. Some files were missing this. * src/libtracker-common/tracker-albumart.[ch]: * src/libtracker-common/tracker-thumbnailer.h: Fixed #define statements so they are not the same as the extractor header files. * src/libtracker-common/tracker-config.c: * src/tracker-extract/tracker-dbus.[ch]: * src/tracker-extract/tracker-extract-albumart.c: * src/tracker-extract/tracker-extract-gstreamer.c: * src/tracker-extract/tracker-main.[ch]: * src/trackerd/tracker-cleanup.c: * src/trackerd/tracker-dbus.c: * src/trackerd/tracker-processor.c: * src/trackerd/tracker-status.c: * tests/tracker-extract/tracker-extract-gstreamer-test.c: * tests/tracker-extract/tracker-extract-jpeg-test.c: * tests/tracker-extract/tracker-extract-mp3-test.c: * tests/tracker-extract/tracker-extract-png-test.c: * tests/tracker-extract/tracker-extract-test-utils.c: * tests/tracker-extract/tracker-extract-testsuite-avi.c: * tests/tracker-extract/tracker-extract-testsuite-jpeg.c: * tests/tracker-extract/tracker-extract-testsuite-jpeg.h: * tests/tracker-extract/tracker-extract-testsuite-mp3.c: * tests/tracker-extract/tracker-extract-testsuite-mp3.h: * tests/tracker-extract/tracker-extract-testsuite-png.c: * tests/tracker-extract/tracker-extract-testsuite-png.h: * tests/tracker-extract/tracker-extract-testsuite-tiff.c: * tests/tracker-extract/tracker-extract-testsuite-tiff.h: * tests/tracker-extract/tracker-extract-tiff-test.c: Fixed all the warnings produced by adding WARN_CFLAGS to the Makefile.am files. svn path=/trunk/; revision=2942
* Patch from Michael Biebl to NOT use symbolic links for test cases and toMartyn James Russell2008-12-221-5/+4
| | | | | | | | | | | | | * configure.ac: * src/libtracker-common/Makefile.am: * src/tracker-indexer/Makefile.am: * src/trackerd/Makefile.am: * tests/common/Makefile.am: * tests/tracker-indexer/Makefile.am: Patch from Michael Biebl to NOT use symbolic links for test cases and to clean up some of the unnecessary EXTRA_DIST lines in Makefiles. svn path=/trunk/; revision=2737
* Merge indexer-split branch.Martyn James Russell2008-09-263-0/+118
svn path=/trunk/; revision=2275