[evolution-data-server/wip/gtester: 19/19] Gtester report
- From: Vadim Rutkovsky <vrutkovsky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/wip/gtester: 19/19] Gtester report
- Date: Tue, 12 Mar 2013 09:59:05 +0000 (UTC)
commit bb7ae32ce0c18fc829bf60b4ab6b3e99fdea4160
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Fri Mar 8 17:58:30 2013 +0100
Gtester report
https://bugzilla.gnome.org/show_bug.cgi?id=695688
Makefile.am | 1 +
Makefile.gtester | 64 +++++++++++++++++
addressbook/Makefile.am | 1 +
addressbook/backends/Makefile.am | 1 +
addressbook/backends/file/Makefile.am | 1 +
addressbook/backends/google/Makefile.am | 1 +
addressbook/backends/google/tests/Makefile.am | 1 +
addressbook/backends/ldap/Makefile.am | 1 +
addressbook/backends/webdav/Makefile.am | 1 +
addressbook/libebook-contacts/Makefile.am | 1 +
addressbook/libebook/Makefile.am | 1 +
addressbook/libedata-book/Makefile.am | 1 +
addressbook/libegdbus/Makefile.am | 1 +
art/Makefile.am | 1 +
calendar/Makefile.am | 1 +
calendar/backends/Makefile.am | 1 +
calendar/backends/caldav/Makefile.am | 1 +
calendar/backends/contacts/Makefile.am | 1 +
calendar/backends/file/Makefile.am | 1 +
calendar/backends/http/Makefile.am | 1 +
calendar/backends/weather/Makefile.am | 1 +
calendar/libecal/Makefile.am | 1 +
calendar/libedata-cal/Makefile.am | 1 +
calendar/libegdbus/Makefile.am | 1 +
camel/Makefile.am | 1 +
camel/providers/Makefile.am | 1 +
camel/providers/imapx/Makefile.am | 1 +
camel/providers/local/Makefile.am | 1 +
camel/providers/nntp/Makefile.am | 1 +
camel/providers/pop3/Makefile.am | 1 +
camel/providers/sendmail/Makefile.am | 1 +
camel/providers/smtp/Makefile.am | 1 +
camel/tests/Makefile.am | 1 +
camel/tests/folder/Makefile.am | 1 +
camel/tests/lib/Makefile.am | 1 +
camel/tests/message/Makefile.am | 1 +
camel/tests/mime-filter/Makefile.am | 1 +
camel/tests/misc/Makefile.am | 1 +
camel/tests/smime/Makefile.am | 1 +
data/Makefile.am | 1 +
docs/Makefile.am | 1 +
docs/reference/Makefile.am | 1 +
docs/reference/addressbook/Makefile.am | 1 +
.../addressbook/libebook-contacts/Makefile.am | 1 +
docs/reference/addressbook/libebook/Makefile.am | 1 +
.../addressbook/libedata-book/Makefile.am | 1 +
docs/reference/calendar/Makefile.am | 1 +
docs/reference/calendar/libecal/Makefile.am | 1 +
docs/reference/calendar/libedata-cal/Makefile.am | 1 +
docs/reference/camel/Makefile.am | 1 +
docs/reference/libebackend/Makefile.am | 1 +
docs/reference/libedataserver/Makefile.am | 1 +
docs/reference/private/Makefile.am | 1 +
gtester2junit.xsl | 74 ++++++++++++++++++++
libebackend/Makefile.am | 1 +
libedataserver/Makefile.am | 1 +
modules/Makefile.am | 1 +
modules/cache-reaper/Makefile.am | 1 +
modules/gnome-online-accounts/Makefile.am | 1 +
modules/google-backend/Makefile.am | 1 +
modules/owncloud-backend/Makefile.am | 1 +
modules/trust-prompt/Makefile.am | 1 +
modules/ubuntu-online-accounts/Makefile.am | 1 +
modules/yahoo-backend/Makefile.am | 1 +
private/Makefile.am | 1 +
services/Makefile.am | 1 +
services/evolution-addressbook-factory/Makefile.am | 1 +
services/evolution-calendar-factory/Makefile.am | 1 +
services/evolution-source-registry/Makefile.am | 1 +
services/evolution-user-prompter/Makefile.am | 1 +
tests/Makefile.am | 1 +
tests/libebook/Makefile.am | 1 +
tests/libebook/client/Makefile.am | 1 +
tests/libebook/vcard/Makefile.am | 1 +
tests/libecal/Makefile.am | 1 +
tests/libecal/client/Makefile.am | 1 +
tests/libedata-cal/Makefile.am | 1 +
tests/libedataserver/Makefile.am | 1 +
tests/test-server-utils/Makefile.am | 1 +
tests/test-server-utils/services/Makefile.am | 1 +
vala/Makefile.am | 1 +
81 files changed, 217 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 85a52d2..4171ec8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -103,3 +103,4 @@ MAINTAINERCLEANFILES = \
$(srcdir)/po/remove-potcdate.sin
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/Makefile.gtester b/Makefile.gtester
new file mode 100644
index 0000000..3398d0b
--- /dev/null
+++ b/Makefile.gtester
@@ -0,0 +1,64 @@
+### testing rules
+
+# test: run all tests in cwd and subdirs
+test: test-nonrecursive
+ @ for subdir in $(SUBDIRS) . ; do \
+ test "$$subdir" = "." -o "$$subdir" = "po" -o "$$subdir" = "docs" || \
+ ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \
+ done
+
+# test-nonrecursive: run tests only in cwd
+test-nonrecursive: ${TESTS}
+ @test -z "${TESTS}" || G_DEBUG=gc-friendly MALLOC_CHECK_=2 MALLOC_PERTURB_=$$(($${RANDOM:-256} %
256)) gtester ${TESTS}
+
+# test-report: run tests in subdirs and generate report
+# perf-report: run tests in subdirs with -m perf and generate report
+# full-report: like test-report: with -m perf and -m slow
+test-report perf-report full-report: ${TESTS}
+ @test -z "${TESTS}" || { \
+ case $@ in \
+ test-report) test_options="-k";; \
+ perf-report) test_options="-k -m=perf";; \
+ full-report) test_options="-k -m=perf -m=slow";; \
+ esac ; \
+ if test -z "$$GTESTER_LOGDIR" ; then \
+ gtester $$test_options -o test-report.xml ${TESTS} || true ; \
+ elif test -n "${TESTS}" ; then \
+ gtester $$test_options -o `mktemp "$$GTESTER_LOGDIR/log-XXXXXX"` ${TESTS} || true ; \
+ fi ; \
+ }
+ @ ignore_logdir=true ; \
+ if test -z "$$GTESTER_LOGDIR" ; then \
+ GTESTER_LOGDIR=`mktemp -d "\`pwd\`/.testlogs-XXXXXX"`; export GTESTER_LOGDIR ; \
+ ignore_logdir=false ; \
+ fi ; \
+ if test -d "$(top_srcdir)/.git" ; then \
+ REVISION=`git describe` ; \
+ else \
+ REVISION=$(VERSION) ; \
+ fi ; \
+ for subdir in $(SUBDIRS) . ; do \
+ test "$$subdir" = "." -o "$$subdir" = "po" -o "$$subdir" = "docs" || \
+ ( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \
+ done ; \
+ $$ignore_logdir || { \
+ echo '<?xml version="1.0"?>' > $ xml ; \
+ echo '<report-collection>' >> $ xml ; \
+ echo '<info>' >> $ xml ; \
+ echo ' <package>$(PACKAGE)</package>' >> $ xml ; \
+ echo ' <version>$(VERSION)</version>' >> $ xml ; \
+ echo " <revision>$$REVISION</revision>" >> $ xml ; \
+ echo '</info>' >> $ xml ; \
+ for lf in `ls -L "$$GTESTER_LOGDIR"/.` ; do \
+ sed '1,1s/^<?xml\b[^>?]*?>//' <"$$GTESTER_LOGDIR"/"$$lf" >> $ xml ; \
+ done ; \
+ echo >> $ xml ; \
+ echo '</report-collection>' >> $ xml ; \
+ rm -rf "$$GTESTER_LOGDIR"/ ; \
+ gtester-report --version 2>/dev/null 1>&2 ; test "$$?" != 0 || gtester-report $ xml >$ html ; \
+ xsltproc -o test-report.junit.xml $(top_srcdir)/gtester2junit.xsl test-report.xml ; \
+ }
+.PHONY: test test-report perf-report full-report test-nonrecursive
+
+# run tests in cwd as part of make check
+check-local: test-nonrecursive
diff --git a/addressbook/Makefile.am b/addressbook/Makefile.am
index 62414f6..a9865a3 100644
--- a/addressbook/Makefile.am
+++ b/addressbook/Makefile.am
@@ -1,3 +1,4 @@
SUBDIRS = libegdbus libebook-contacts libedata-book libebook backends
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/addressbook/backends/Makefile.am b/addressbook/backends/Makefile.am
index fe72ec0..7a99c2b 100644
--- a/addressbook/backends/Makefile.am
+++ b/addressbook/backends/Makefile.am
@@ -13,3 +13,4 @@ endif
SUBDIRS = file $(LDAP_SUBDIR) $(GOOGLE_SUBDIR) webdav
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/addressbook/backends/file/Makefile.am b/addressbook/backends/file/Makefile.am
index bdad952..7d871f4 100644
--- a/addressbook/backends/file/Makefile.am
+++ b/addressbook/backends/file/Makefile.am
@@ -36,3 +36,4 @@ libebookbackendfile_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) \
$(NULL)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/addressbook/backends/google/Makefile.am b/addressbook/backends/google/Makefile.am
index 4e52302..d60bc89 100644
--- a/addressbook/backends/google/Makefile.am
+++ b/addressbook/backends/google/Makefile.am
@@ -91,3 +91,4 @@ libebook_google_utils_la_LDFLAGS = \
$(NULL)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/addressbook/backends/google/tests/Makefile.am b/addressbook/backends/google/tests/Makefile.am
index 3b31197..7df670c 100644
--- a/addressbook/backends/google/tests/Makefile.am
+++ b/addressbook/backends/google/tests/Makefile.am
@@ -28,3 +28,4 @@ TESTS = $(noinst_PROGRAMS)
phone_numbers_SOURCES = phone-numbers.c
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/addressbook/backends/ldap/Makefile.am b/addressbook/backends/ldap/Makefile.am
index ccd2dcf..7f66444 100644
--- a/addressbook/backends/ldap/Makefile.am
+++ b/addressbook/backends/ldap/Makefile.am
@@ -43,3 +43,4 @@ ldapschema_DATA= $(LDAP_SCHEMA)
EXTRA_DIST = $(LDAP_SCHEMA) openldap-extract.h
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/addressbook/backends/webdav/Makefile.am b/addressbook/backends/webdav/Makefile.am
index b1a4740..6065662 100644
--- a/addressbook/backends/webdav/Makefile.am
+++ b/addressbook/backends/webdav/Makefile.am
@@ -33,3 +33,4 @@ libebookbackendwebdav_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED) \
$(NULL)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/addressbook/libebook-contacts/Makefile.am b/addressbook/libebook-contacts/Makefile.am
index 863a4c9..e13e9ea 100644
--- a/addressbook/libebook-contacts/Makefile.am
+++ b/addressbook/libebook-contacts/Makefile.am
@@ -170,3 +170,4 @@ dist-hook:
cd $(distdir); rm -f $(BUILT_SOURCES)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/addressbook/libebook/Makefile.am b/addressbook/libebook/Makefile.am
index 8d7bb85..65ce08f 100644
--- a/addressbook/libebook/Makefile.am
+++ b/addressbook/libebook/Makefile.am
@@ -156,3 +156,4 @@ dist-hook:
cd $(distdir); rm -f $(BUILT_SOURCES)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/addressbook/libedata-book/Makefile.am b/addressbook/libedata-book/Makefile.am
index 7f719db..c7081fc 100644
--- a/addressbook/libedata-book/Makefile.am
+++ b/addressbook/libedata-book/Makefile.am
@@ -91,3 +91,4 @@ EXTRA_DIST = \
$(pkgconfig_DATA:-$(API_VERSION).pc=.pc.in)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/addressbook/libegdbus/Makefile.am b/addressbook/libegdbus/Makefile.am
index 6f75cfe..1a76879 100644
--- a/addressbook/libegdbus/Makefile.am
+++ b/addressbook/libegdbus/Makefile.am
@@ -23,3 +23,4 @@ libegdbus_book_la_LDFLAGS = $(NO_UNDEFINED) \
$(NULL)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/art/Makefile.am b/art/Makefile.am
index fed6667..bae1edd 100644
--- a/art/Makefile.am
+++ b/art/Makefile.am
@@ -22,3 +22,4 @@ EXTRA_DIST = \
$(images_DATA)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/calendar/Makefile.am b/calendar/Makefile.am
index 9c5d334..b6dc9e1 100644
--- a/calendar/Makefile.am
+++ b/calendar/Makefile.am
@@ -1,3 +1,4 @@
SUBDIRS = libegdbus libecal libedata-cal backends
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/calendar/backends/Makefile.am b/calendar/backends/Makefile.am
index b282566..39fef47 100644
--- a/calendar/backends/Makefile.am
+++ b/calendar/backends/Makefile.am
@@ -7,3 +7,4 @@ endif
SUBDIRS = file http contacts $(WEATHER_SUBDIR) caldav
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/calendar/backends/caldav/Makefile.am b/calendar/backends/caldav/Makefile.am
index db8f459..c1357a9 100644
--- a/calendar/backends/caldav/Makefile.am
+++ b/calendar/backends/caldav/Makefile.am
@@ -32,3 +32,4 @@ libecalbackendcaldav_la_LDFLAGS = \
$(NULL)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/calendar/backends/contacts/Makefile.am b/calendar/backends/contacts/Makefile.am
index d0579a3..2a5b1d3 100644
--- a/calendar/backends/contacts/Makefile.am
+++ b/calendar/backends/contacts/Makefile.am
@@ -39,3 +39,4 @@ libecalbackendcontacts_la_LDFLAGS = \
$(NULL)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/calendar/backends/file/Makefile.am b/calendar/backends/file/Makefile.am
index bd2193b..b457ea1 100644
--- a/calendar/backends/file/Makefile.am
+++ b/calendar/backends/file/Makefile.am
@@ -63,3 +63,4 @@ test_interval_searches_CPPFLAGS = \
-DTEST_QUERY_RESULT=1
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/calendar/backends/http/Makefile.am b/calendar/backends/http/Makefile.am
index 55404db..82038b6 100644
--- a/calendar/backends/http/Makefile.am
+++ b/calendar/backends/http/Makefile.am
@@ -33,3 +33,4 @@ libecalbackendhttp_la_LDFLAGS = \
$(NULL)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/calendar/backends/weather/Makefile.am b/calendar/backends/weather/Makefile.am
index 25ee7a9..532c905 100644
--- a/calendar/backends/weather/Makefile.am
+++ b/calendar/backends/weather/Makefile.am
@@ -43,3 +43,4 @@ libecalbackendweather_la_LDFLAGS = \
$(NULL)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/calendar/libecal/Makefile.am b/calendar/libecal/Makefile.am
index c3921f7..ea9c439 100644
--- a/calendar/libecal/Makefile.am
+++ b/calendar/libecal/Makefile.am
@@ -104,3 +104,4 @@ dist-hook:
cd $(distdir); rm -f $(BUILT_SOURCES)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/calendar/libedata-cal/Makefile.am b/calendar/libedata-cal/Makefile.am
index 0276649..3090542 100644
--- a/calendar/libedata-cal/Makefile.am
+++ b/calendar/libedata-cal/Makefile.am
@@ -73,3 +73,4 @@ EXTRA_DIST = \
$(pkgconfig_DATA:-$(API_VERSION).pc=.pc.in)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/calendar/libegdbus/Makefile.am b/calendar/libegdbus/Makefile.am
index ffeeaf5..f9d3ae9 100644
--- a/calendar/libegdbus/Makefile.am
+++ b/calendar/libegdbus/Makefile.am
@@ -22,3 +22,4 @@ libegdbus_cal_la_LDFLAGS = $(NO_UNDEFINED) \
$(NULL)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/camel/Makefile.am b/camel/Makefile.am
index db212b3..35ab529 100644
--- a/camel/Makefile.am
+++ b/camel/Makefile.am
@@ -435,3 +435,4 @@ CLEANFILES = $(BUILT_SOURCES)
DISTCLEANFILES = $(pkgconfig_DATA)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/camel/providers/Makefile.am b/camel/providers/Makefile.am
index 2244885..9d46232 100644
--- a/camel/providers/Makefile.am
+++ b/camel/providers/Makefile.am
@@ -10,3 +10,4 @@ endif
SUBDIRS = pop3 $(SENDMAIL_DIR) smtp imapx $(NNTP_DIR) local
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/camel/providers/imapx/Makefile.am b/camel/providers/imapx/Makefile.am
index 8ba0185..29e9d51 100644
--- a/camel/providers/imapx/Makefile.am
+++ b/camel/providers/imapx/Makefile.am
@@ -41,3 +41,4 @@ test_imapx_LDADD = \
EXTRA_DIST = libcamelimapx.urls
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/camel/providers/local/Makefile.am b/camel/providers/local/Makefile.am
index b4c9cbd..8e6bbad 100644
--- a/camel/providers/local/Makefile.am
+++ b/camel/providers/local/Makefile.am
@@ -69,3 +69,4 @@ libcamellocal_la_LIBADD = \
EXTRA_DIST = libcamellocal.urls
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/camel/providers/nntp/Makefile.am b/camel/providers/nntp/Makefile.am
index 7d3078d..7aa96d2 100644
--- a/camel/providers/nntp/Makefile.am
+++ b/camel/providers/nntp/Makefile.am
@@ -44,3 +44,4 @@ libcamelnntp_la_LIBADD = \
EXTRA_DIST = libcamelnntp.urls
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/camel/providers/pop3/Makefile.am b/camel/providers/pop3/Makefile.am
index e5fd3c0..bae3bcd 100644
--- a/camel/providers/pop3/Makefile.am
+++ b/camel/providers/pop3/Makefile.am
@@ -36,3 +36,4 @@ libcamelpop3_la_LIBADD = \
EXTRA_DIST = libcamelpop3.urls
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/camel/providers/sendmail/Makefile.am b/camel/providers/sendmail/Makefile.am
index b656a56..030c4e9 100644
--- a/camel/providers/sendmail/Makefile.am
+++ b/camel/providers/sendmail/Makefile.am
@@ -34,3 +34,4 @@ libcamelsendmail_la_LIBADD = \
EXTRA_DIST = libcamelsendmail.urls
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/camel/providers/smtp/Makefile.am b/camel/providers/smtp/Makefile.am
index 299f4fa..271d469 100644
--- a/camel/providers/smtp/Makefile.am
+++ b/camel/providers/smtp/Makefile.am
@@ -30,3 +30,4 @@ libcamelsmtp_la_LIBADD = \
EXTRA_DIST = libcamelsmtp.urls
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/camel/tests/Makefile.am b/camel/tests/Makefile.am
index 8aa63fd..58552d0 100644
--- a/camel/tests/Makefile.am
+++ b/camel/tests/Makefile.am
@@ -7,3 +7,4 @@ dist-hook:
rm -rf `find $(distdir)/data -name .svn`
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/camel/tests/folder/Makefile.am b/camel/tests/folder/Makefile.am
index 09b29e6..ea4d311 100644
--- a/camel/tests/folder/Makefile.am
+++ b/camel/tests/folder/Makefile.am
@@ -45,3 +45,4 @@ test10_LDADD = $(FOLDER_TESTS_LDADD)
test11_LDADD = $(FOLDER_TESTS_LDADD)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/camel/tests/lib/Makefile.am b/camel/tests/lib/Makefile.am
index e775244..14540b0 100644
--- a/camel/tests/lib/Makefile.am
+++ b/camel/tests/lib/Makefile.am
@@ -34,3 +34,4 @@ libcameltest_provider_a_LIBADD = \
$(top_builddir)/camel/libcamel-${API_VERSION}.la
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/camel/tests/message/Makefile.am b/camel/tests/message/Makefile.am
index 43dc188..bb95a25 100644
--- a/camel/tests/message/Makefile.am
+++ b/camel/tests/message/Makefile.am
@@ -32,3 +32,4 @@ test4_LDADD = $(MESSAGE_TESTS_LDADD)
CLEANFILES = test3.msg test3-2.msg test3-3.msg
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/camel/tests/mime-filter/Makefile.am b/camel/tests/mime-filter/Makefile.am
index 466b3ab..400bfa6 100644
--- a/camel/tests/mime-filter/Makefile.am
+++ b/camel/tests/mime-filter/Makefile.am
@@ -38,3 +38,4 @@ test_tohtml_CPPFLAGS = $(MIMEFILTER_TESTS_CPPFLAGS)
test_tohtml_LDFLAGS = $(MIMEFILTER_TESTS_LDADD)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/camel/tests/misc/Makefile.am b/camel/tests/misc/Makefile.am
index 3bdab5b..383321e 100644
--- a/camel/tests/misc/Makefile.am
+++ b/camel/tests/misc/Makefile.am
@@ -38,3 +38,4 @@ rfc2047_CPPFLAGS = $(MISC_TESTS_CPPFLAGS)
rfc2047_LDADD = $(MISC_TESTS_LDADD)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/camel/tests/smime/Makefile.am b/camel/tests/smime/Makefile.am
index 921f46b..17f42f3 100644
--- a/camel/tests/smime/Makefile.am
+++ b/camel/tests/smime/Makefile.am
@@ -28,3 +28,4 @@ pgp_LDADD = $(SMIME_TESTS_LDADD)
# pkcs7_LDADD = $(SMIME_TESTS_LDADD)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/data/Makefile.am b/data/Makefile.am
index 31a90ab..2dcb9d9 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -21,3 +21,4 @@ EXTRA_DIST = $(gsettings_SCHEMAS:.xml=.xml.in) \
CLEANFILES = $(gsettings_SCHEMAS) gschemas.compiled
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/docs/Makefile.am b/docs/Makefile.am
index 7890920..c6eb704 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -1,2 +1,3 @@
SUBDIRS = reference
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index f1f2986..67482dc 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -16,3 +16,4 @@ SUBDIRS = \
MKDB_OPTIONS=--output-format=xml --name-space=e
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/docs/reference/addressbook/Makefile.am b/docs/reference/addressbook/Makefile.am
index 95fdf96..39f8641 100644
--- a/docs/reference/addressbook/Makefile.am
+++ b/docs/reference/addressbook/Makefile.am
@@ -1,3 +1,4 @@
SUBDIRS = libebook-contacts libebook libedata-book
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/docs/reference/addressbook/libebook-contacts/Makefile.am
b/docs/reference/addressbook/libebook-contacts/Makefile.am
index 2124e72..994521c 100644
--- a/docs/reference/addressbook/libebook-contacts/Makefile.am
+++ b/docs/reference/addressbook/libebook-contacts/Makefile.am
@@ -44,3 +44,4 @@ include $(top_srcdir)/gtk-doc.make
#TESTS = $(GTKDOC_CHECK)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/docs/reference/addressbook/libebook/Makefile.am b/docs/reference/addressbook/libebook/Makefile.am
index 9f1e30b..930b531 100644
--- a/docs/reference/addressbook/libebook/Makefile.am
+++ b/docs/reference/addressbook/libebook/Makefile.am
@@ -48,3 +48,4 @@ include $(top_srcdir)/gtk-doc.make
#TESTS = $(GTKDOC_CHECK)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/docs/reference/addressbook/libedata-book/Makefile.am
b/docs/reference/addressbook/libedata-book/Makefile.am
index 5a68184..b6d2a58 100644
--- a/docs/reference/addressbook/libedata-book/Makefile.am
+++ b/docs/reference/addressbook/libedata-book/Makefile.am
@@ -47,3 +47,4 @@ include $(top_srcdir)/gtk-doc.make
#TESTS = $(GTKDOC_CHECK)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/docs/reference/calendar/Makefile.am b/docs/reference/calendar/Makefile.am
index a4f69e8..b088042 100644
--- a/docs/reference/calendar/Makefile.am
+++ b/docs/reference/calendar/Makefile.am
@@ -1,3 +1,4 @@
SUBDIRS = libecal libedata-cal
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/docs/reference/calendar/libecal/Makefile.am b/docs/reference/calendar/libecal/Makefile.am
index 4d4b8e8..bd3afcd 100644
--- a/docs/reference/calendar/libecal/Makefile.am
+++ b/docs/reference/calendar/libecal/Makefile.am
@@ -45,3 +45,4 @@ include $(top_srcdir)/gtk-doc.make
#TESTS = $(GTKDOC_CHECK)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/docs/reference/calendar/libedata-cal/Makefile.am
b/docs/reference/calendar/libedata-cal/Makefile.am
index eebfedd..b2a6309 100644
--- a/docs/reference/calendar/libedata-cal/Makefile.am
+++ b/docs/reference/calendar/libedata-cal/Makefile.am
@@ -48,3 +48,4 @@ include $(top_srcdir)/gtk-doc.make
#TESTS = $(GTKDOC_CHECK)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/docs/reference/camel/Makefile.am b/docs/reference/camel/Makefile.am
index 076fe31..0b8cd2a 100644
--- a/docs/reference/camel/Makefile.am
+++ b/docs/reference/camel/Makefile.am
@@ -73,3 +73,4 @@ EXTRA_DIST += \
#TESTS = $(GTKDOC_CHECK)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/docs/reference/libebackend/Makefile.am b/docs/reference/libebackend/Makefile.am
index 9d245ad..5f7d9e0 100644
--- a/docs/reference/libebackend/Makefile.am
+++ b/docs/reference/libebackend/Makefile.am
@@ -37,3 +37,4 @@ include $(top_srcdir)/gtk-doc.make
TESTS = $(GTKDOC_CHECK)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/docs/reference/libedataserver/Makefile.am b/docs/reference/libedataserver/Makefile.am
index 02e80f6..fae5a24 100644
--- a/docs/reference/libedataserver/Makefile.am
+++ b/docs/reference/libedataserver/Makefile.am
@@ -41,3 +41,4 @@ include $(top_srcdir)/gtk-doc.make
#TESTS = $(GTKDOC_CHECK)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/docs/reference/private/Makefile.am b/docs/reference/private/Makefile.am
index 2803a64..7b14553 100644
--- a/docs/reference/private/Makefile.am
+++ b/docs/reference/private/Makefile.am
@@ -35,3 +35,4 @@ include $(top_srcdir)/gtk-doc.make
#TESTS = $(GTKDOC_CHECK)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/gtester2junit.xsl b/gtester2junit.xsl
new file mode 100644
index 0000000..a23b5fb
--- /dev/null
+++ b/gtester2junit.xsl
@@ -0,0 +1,74 @@
+<?xml version="1.0"?>
+
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<!-- I can't believe I have to do this -->
+<!-- Based on this code:
+http://geekswithblogs.net/Erik/archive/2008/04/01/120915.aspx
+-->
+ <xsl:template name="strreplace">
+ <xsl:param name="string"/>
+ <xsl:param name="token"/>
+ <xsl:param name="newtoken"/>
+ <xsl:choose>
+ <xsl:when test="contains($string, $token)">
+ <xsl:value-of select="substring-before($string, $token)"/>
+ <xsl:value-of select="$newtoken"/>
+ <xsl:call-template name="strreplace">
+ <xsl:with-param name="string" select="substring-after($string, $token)"/>
+ <xsl:with-param name="token" select="$token"/>
+ <xsl:with-param name="newtoken" select="$newtoken"/>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$string"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+<xsl:template match="/report-collection">
+<testsuites>
+ <xsl:for-each select="gtester/testbinary">
+ <testsuite>
+ <xsl:attribute name="name">
+ <xsl:value-of select="@path"/>
+ </xsl:attribute>
+ <xsl:attribute name="tests">
+ <xsl:value-of select="count(testcase)"/>
+ </xsl:attribute>
+ <xsl:attribute name="time">
+ <xsl:value-of select="sum(testcase/duration)"/>
+ </xsl:attribute>
+ <xsl:attribute name="failures">
+ <xsl:value-of select="count(testcase/status[ result='failed'])"/>
+ </xsl:attribute>
+ <xsl:for-each select="testcase">
+ <testcase>
+ <xsl:variable name="classname">
+ <xsl:call-template name="strreplace">
+ <xsl:with-param name="string" select="substring-after(@path, '/')"/>
+ <xsl:with-param name="token" select="'/'"/>
+ <xsl:with-param name="newtoken" select="'.'"/>
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:attribute name="classname">
+ <xsl:value-of select="$classname"/>
+ </xsl:attribute>
+ <xsl:attribute name="name">g_test</xsl:attribute>
+ <xsl:attribute name="time">
+ <xsl:value-of select="duration"/>
+ </xsl:attribute>
+ <xsl:if test="status[ result = 'failed']">
+ <failure>
+ <xsl:value-of select="error"/>
+ </failure>
+ </xsl:if>
+ <system-out>
+ <xsl:value-of select="message" separator=" "/>
+ </system-out>
+ </testcase>
+ </xsl:for-each>
+ </testsuite>
+ </xsl:for-each>
+</testsuites>
+</xsl:template>
+</xsl:stylesheet>
diff --git a/libebackend/Makefile.am b/libebackend/Makefile.am
index b6a2685..0316943 100644
--- a/libebackend/Makefile.am
+++ b/libebackend/Makefile.am
@@ -124,3 +124,4 @@ CLEANFILES = $(gsettings_SCHEMAS:.xml=.valid)
DISTCLEANFILES = $(pkgconfig_DATA)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/libedataserver/Makefile.am b/libedataserver/Makefile.am
index 2d3b5dd..97e68d7 100644
--- a/libedataserver/Makefile.am
+++ b/libedataserver/Makefile.am
@@ -244,3 +244,4 @@ CLEANFILES += $(gir_DATA) $(typelib_DATA)
endif
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/modules/Makefile.am b/modules/Makefile.am
index 19d96b2..a6de862 100644
--- a/modules/Makefile.am
+++ b/modules/Makefile.am
@@ -23,3 +23,4 @@ SUBDIRS = \
$(NULL)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/modules/cache-reaper/Makefile.am b/modules/cache-reaper/Makefile.am
index 510a4a6..5097658 100644
--- a/modules/cache-reaper/Makefile.am
+++ b/modules/cache-reaper/Makefile.am
@@ -28,3 +28,4 @@ module_cache_reaper_la_LDFLAGS = \
$(NULL)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/modules/gnome-online-accounts/Makefile.am b/modules/gnome-online-accounts/Makefile.am
index 4be1ffa..502e3aa 100644
--- a/modules/gnome-online-accounts/Makefile.am
+++ b/modules/gnome-online-accounts/Makefile.am
@@ -80,3 +80,4 @@ module_data_book_factory_goa_la_LIBADD = $(module_data_factory_goa_LIBADD)
module_data_book_factory_goa_la_LDFLAGS = $(module_data_factory_goa_LDFLAGS)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/modules/google-backend/Makefile.am b/modules/google-backend/Makefile.am
index 9a046dc..8910515 100644
--- a/modules/google-backend/Makefile.am
+++ b/modules/google-backend/Makefile.am
@@ -27,3 +27,4 @@ module_google_backend_la_LDFLAGS = \
$(NULL)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/modules/owncloud-backend/Makefile.am b/modules/owncloud-backend/Makefile.am
index 14bf232..c80bbed 100644
--- a/modules/owncloud-backend/Makefile.am
+++ b/modules/owncloud-backend/Makefile.am
@@ -29,3 +29,4 @@ module_owncloud_backend_la_LDFLAGS = \
$(NULL)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/modules/trust-prompt/Makefile.am b/modules/trust-prompt/Makefile.am
index eedf305..831d7b0 100644
--- a/modules/trust-prompt/Makefile.am
+++ b/modules/trust-prompt/Makefile.am
@@ -41,3 +41,4 @@ module_trust_prompt_la_LDFLAGS = \
$(NULL)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/modules/ubuntu-online-accounts/Makefile.am b/modules/ubuntu-online-accounts/Makefile.am
index 581bbe5..1d86eb6 100644
--- a/modules/ubuntu-online-accounts/Makefile.am
+++ b/modules/ubuntu-online-accounts/Makefile.am
@@ -84,3 +84,4 @@ DISTCLEANFILES = \
$(NULL)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/modules/yahoo-backend/Makefile.am b/modules/yahoo-backend/Makefile.am
index 002df0d..eb70e35 100644
--- a/modules/yahoo-backend/Makefile.am
+++ b/modules/yahoo-backend/Makefile.am
@@ -27,3 +27,4 @@ module_yahoo_backend_la_LDFLAGS = \
$(NULL)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/private/Makefile.am b/private/Makefile.am
index 8a834c8..d5758d4 100644
--- a/private/Makefile.am
+++ b/private/Makefile.am
@@ -199,3 +199,4 @@ CLEANFILES = \
$(NULL)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/services/Makefile.am b/services/Makefile.am
index affc7c9..31cf250 100644
--- a/services/Makefile.am
+++ b/services/Makefile.am
@@ -12,3 +12,4 @@ SUBDIRS = \
$(NULL)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/services/evolution-addressbook-factory/Makefile.am
b/services/evolution-addressbook-factory/Makefile.am
index 6a8525a..92b378d 100644
--- a/services/evolution-addressbook-factory/Makefile.am
+++ b/services/evolution-addressbook-factory/Makefile.am
@@ -50,3 +50,4 @@ evolution_addressbook_factory_LDFLAGS = \
$(NULL)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/services/evolution-calendar-factory/Makefile.am b/services/evolution-calendar-factory/Makefile.am
index 2bdb1a4..0e77e1c 100644
--- a/services/evolution-calendar-factory/Makefile.am
+++ b/services/evolution-calendar-factory/Makefile.am
@@ -48,3 +48,4 @@ evolution_calendar_factory_LDFLAGS = \
$(NULL)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/services/evolution-source-registry/Makefile.am b/services/evolution-source-registry/Makefile.am
index 88f32f1..79ca2ee 100644
--- a/services/evolution-source-registry/Makefile.am
+++ b/services/evolution-source-registry/Makefile.am
@@ -95,3 +95,4 @@ BUILT_SOURCES = \
$(NULL)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/services/evolution-user-prompter/Makefile.am b/services/evolution-user-prompter/Makefile.am
index 941b7a4..98297e1 100644
--- a/services/evolution-user-prompter/Makefile.am
+++ b/services/evolution-user-prompter/Makefile.am
@@ -40,3 +40,4 @@ evolution_user_prompter_LDADD = \
$(NULL)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/tests/Makefile.am b/tests/Makefile.am
index d59b456..8a8602f 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -3,3 +3,4 @@ SUBDIRS = test-server-utils libedataserver libebook libecal libedata-cal
@GNOME_CODE_COVERAGE_RULES@
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/tests/libebook/Makefile.am b/tests/libebook/Makefile.am
index 7b365bf..3db252d 100644
--- a/tests/libebook/Makefile.am
+++ b/tests/libebook/Makefile.am
@@ -153,3 +153,4 @@ test_stress_bookviews_LDADD=$(TEST_LIBS)
test_stress_bookviews_CPPFLAGS=$(TEST_CPPFLAGS)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/tests/libebook/client/Makefile.am b/tests/libebook/client/Makefile.am
index 2cb283d..4a64e0a 100644
--- a/tests/libebook/client/Makefile.am
+++ b/tests/libebook/client/Makefile.am
@@ -137,3 +137,4 @@ test_client_stress_views_LDADD=$(TEST_LIBS)
test_client_stress_views_CPPFLAGS=$(TEST_CPPFLAGS)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/tests/libebook/vcard/Makefile.am b/tests/libebook/vcard/Makefile.am
index 91f39f1..a3ce466 100644
--- a/tests/libebook/vcard/Makefile.am
+++ b/tests/libebook/vcard/Makefile.am
@@ -17,3 +17,4 @@ dump_vcard_LDADD = \
EXTRA_DIST=1.vcf 2.vcf 3.vcf 4.vcf 5.vcf 6.vcf 7.vcf 8.vcf 9.vcf 10.vcf 11.vcf
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/tests/libecal/Makefile.am b/tests/libecal/Makefile.am
index 81b886a..e01ea66 100644
--- a/tests/libecal/Makefile.am
+++ b/tests/libecal/Makefile.am
@@ -160,3 +160,4 @@ test_scripts = \
cleanup.sh
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/tests/libecal/client/Makefile.am b/tests/libecal/client/Makefile.am
index e1da501..c9f1e54 100644
--- a/tests/libecal/client/Makefile.am
+++ b/tests/libecal/client/Makefile.am
@@ -104,3 +104,4 @@ test_client_stress_views_LDADD=$(TEST_LIBS)
test_client_stress_views_CPPFLAGS=$(TEST_CPPFLAGS)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/tests/libedata-cal/Makefile.am b/tests/libedata-cal/Makefile.am
index 145c13b..7655940 100644
--- a/tests/libedata-cal/Makefile.am
+++ b/tests/libedata-cal/Makefile.am
@@ -43,3 +43,4 @@ test_intervaltree_CPPFLAGS = $(test_CPPFLAGS)
test_intervaltree_LDADD = $(test_LDADD)
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/tests/libedataserver/Makefile.am b/tests/libedataserver/Makefile.am
index 983c2bb..8d8a904 100644
--- a/tests/libedataserver/Makefile.am
+++ b/tests/libedataserver/Makefile.am
@@ -56,3 +56,4 @@ e_user_prompter_test_LDADD = $(top_builddir)/libebackend/libebackend-1.2.la $(te
endif
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/tests/test-server-utils/Makefile.am b/tests/test-server-utils/Makefile.am
index 28859aa..0298108 100644
--- a/tests/test-server-utils/Makefile.am
+++ b/tests/test-server-utils/Makefile.am
@@ -56,3 +56,4 @@ test_fixture_LDADD = $(common_libs) libetestserverutils.la
test_fixture_SOURCES = test-fixture.c
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/tests/test-server-utils/services/Makefile.am b/tests/test-server-utils/services/Makefile.am
index f3d5287..d154276 100644
--- a/tests/test-server-utils/services/Makefile.am
+++ b/tests/test-server-utils/services/Makefile.am
@@ -4,3 +4,4 @@ EXTRA_DIST = \
org.gnome.evolution.dataserver.Sources.service.in
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
diff --git a/vala/Makefile.am b/vala/Makefile.am
index 449d13e..77ab3e4 100644
--- a/vala/Makefile.am
+++ b/vala/Makefile.am
@@ -74,3 +74,4 @@ VAPIGEN_V_ = $(VAPIGEN_V_$(AM_DEFAULT_VERBOSITY))
VAPIGEN_V_0 = @echo " VAPIG " $^;
-include $(top_srcdir)/git.mk
+-include $(top_srcdir)/Makefile.gtester
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]