summaryrefslogtreecommitdiff
path: root/Makefile.decl
diff options
context:
space:
mode:
author15:17:04 Tim Janik <timj@imendio.com>2007-12-20 14:14:50 +0000
committerTim Janik <timj@src.gnome.org>2007-12-20 14:14:50 +0000
commitd08fd8eae29f858cfa8a9d6462f8fbf235ffd6c0 (patch)
treee9109360ed5686641a581d3ca1c3da2f0ee42d7c /Makefile.decl
parent8acddd1ab4f1fb827f90c40c9fdf075dd3ceea91 (diff)
generate HTML reports for test-report perf-report full-report.
2007-12-20 15:17:04 Tim Janik <timj@imendio.com> * Makefile.decl: generate HTML reports for test-report perf-report full-report. svn path=/trunk/; revision=6172
Diffstat (limited to 'Makefile.decl')
-rw-r--r--Makefile.decl4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.decl b/Makefile.decl
index 2c061b32c..c86d1fcf2 100644
--- a/Makefile.decl
+++ b/Makefile.decl
@@ -1,7 +1,8 @@
# GLIB - Library of useful C routines
#GTESTER = gtester # for non-GLIB packages
-GTESTER = $(top_builddir)/glib/gtester # for the GLIB package
+GTESTER = $(top_builddir)/glib/gtester # for the GLIB package
+GTESTER_REPORT = $(top_builddir)/glib/gtester-report # for the GLIB package
# initialize variables for unconditional += appending
EXTRA_DIST =
@@ -50,6 +51,7 @@ test-report perf-report full-report: ${TEST_PROGS}
echo >> $@.xml ; \
echo '</report-collection>' >> $@.xml ; \
rm -rf "$$GTESTER_LOGDIR"/ ; \
+ ${GTESTER_REPORT} --version 2>/dev/null 1>&2 ; test "$$?" != 0 || ${GTESTER_REPORT} $@.xml >$@.html ; \
}
.PHONY: test test-report perf-report full-report
# run make test as part of make check