diff options
author | Martyn Russell <martyn@lanedo.com> | 2014-02-11 19:56:45 +0000 |
---|---|---|
committer | Martyn Russell <martyn@lanedo.com> | 2014-02-20 16:55:05 +0000 |
commit | 73c0decdcebde53773f5607e64c3a6243854a6c5 (patch) | |
tree | 3d10080d8d07a17f4e66a9c8dd0a76a557781750 /tests/libtracker-extract | |
parent | f9ab05df84f14ed863719bcf57ceadaff623eeef (diff) | |
download | tracker-73c0decdcebde53773f5607e64c3a6243854a6c5.tar.gz |
tests: Updated gtester scripts to improve testing system
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 :)
Diffstat (limited to 'tests/libtracker-extract')
-rw-r--r-- | tests/libtracker-extract/Makefile.am | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/libtracker-extract/Makefile.am b/tests/libtracker-extract/Makefile.am index b8f5a90bd..5a65ceac4 100644 --- a/tests/libtracker-extract/Makefile.am +++ b/tests/libtracker-extract/Makefile.am @@ -1,27 +1,27 @@ include $(top_srcdir)/Makefile.decl -noinst_PROGRAMS = $(TEST_PROGS) +noinst_PROGRAMS += $(test_programs) -TEST_PROGS += \ +test_programs = \ tracker-test-utils \ tracker-test-xmp \ tracker-extract-info-test \ tracker-guarantee-test if HAVE_EXIF -TEST_PROGS += tracker-exif-test +test_programs += tracker-exif-test endif if HAVE_IPTC # This test also requires libjpeg... -TEST_PROGS += tracker-iptc-test +test_programs += tracker-iptc-test endif if HAVE_ENCA -TEST_PROGS += tracker-encoding +test_programs += tracker-encoding else if HAVE_MEEGOTOUCH -TEST_PROGS += tracker-encoding +test_programs += tracker-encoding endif endif @@ -58,7 +58,7 @@ tracker_iptc_test_SOURCES = tracker-iptc-test.c tracker_iptc_test_LDADD = $(LDADD) $(LIBJPEG_LIBS) tracker_iptc_test_CFLAGS = $(LIBJPEG_CFLAGS) -EXTRA_DIST = \ +EXTRA_DIST += \ encoding-detect.bin \ areas.xmp \ areas-with-contacts.xmp \ |