From 249d53a88ce002978e470863826ef1f2fd526b69 Mon Sep 17 00:00:00 2001 From: maroy Date: Sat, 24 Jul 2004 08:26:12 +0000 Subject: [PATCH] added global test result reporting --- livesupport/Makefile | 20 +++++++--- livesupport/etc/testResultToHtml.xsl | 57 ++++++++++++++++++++++++++++ livesupport/etc/testResults.xml | 16 ++++++++ 3 files changed, 87 insertions(+), 6 deletions(-) create mode 100644 livesupport/etc/testResultToHtml.xsl create mode 100644 livesupport/etc/testResults.xml diff --git a/livesupport/Makefile b/livesupport/Makefile index 6584949a2..0ca2df24d 100644 --- a/livesupport/Makefile +++ b/livesupport/Makefile @@ -21,17 +21,18 @@ # # # Author : $Author: maroy $ -# Version : $Revision: 1.1 $ +# Version : $Revision: 1.2 $ # Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/Attic/Makefile,v $ #------------------------------------------------------------------------------- #------------------------------------------------------------------------------- # General command definitions #------------------------------------------------------------------------------- -MKDIR = mkdir -p -RM = rm -f -RMDIR = rm -rf -DOXYGEN = doxygen +MKDIR = mkdir -p +RM = rm -f +RMDIR = rm -rf +DOXYGEN = doxygen +XSLTPROC = xsltproc #------------------------------------------------------------------------------- @@ -44,16 +45,23 @@ ETC_DIR = ${BASE_DIR}/etc DOXYGEN_CONFIG = ${ETC_DIR}/doxygen.config +TESTRESULTS_XSLT = ${ETC_DIR}/testResultsToHtml.xsl +TESTRESULTS_IN = ${ETC_DIR}/testResults.xml +TESTRESULTS_FILE = ${DOC_DIR}/testResults.html + #------------------------------------------------------------------------------- # Targets #------------------------------------------------------------------------------- -.PHONY: all doc clean docclean depclean distclean +.PHONY: all doc clean docclean depclean distclean testresults all: doc doc: ${DOXYGEN} ${DOXYGEN_CONFIG} +testresults: + ${XSLTPROC} ${TESTRESULT_XSLT} ${TESTRESULTS_IN} > ${TESTRESULTS_FILE} + clean: ${RMDIR} ${DOXYGEN_DIR}/html diff --git a/livesupport/etc/testResultToHtml.xsl b/livesupport/etc/testResultToHtml.xsl new file mode 100644 index 000000000..9f658642c --- /dev/null +++ b/livesupport/etc/testResultToHtml.xsl @@ -0,0 +1,57 @@ + + + + + + + LiveSupport unit test results + + +

Preface

+This document is part of the +LiveSupport +project, Copyright © 2004 Media +Development Loan Fund, under the GNU +GPL. +
+This is an automatically generated document. +

Scope

+This document contains the generated unit test results for the +LiveSupport project. +

Summary

+ + + + + + + + + + + + + +
Total number of tests:
Tests passed:
Tests failed:
+

Tests

+ + + + + + + + + + + + + +
test nametest status
failedpassed
+ + +
+ +
+ diff --git a/livesupport/etc/testResults.xml b/livesupport/etc/testResults.xml new file mode 100644 index 000000000..6e0983809 --- /dev/null +++ b/livesupport/etc/testResults.xml @@ -0,0 +1,16 @@ + + + + + + + +]> + +&coreResults; +&dbResults; +&storageResults; +&schedulerResults; +