Re: [xslt] Release of libxslt-1.1.3



Hi Daniel,

attached please find a small patch for libxslt-1.1.3

The problem is that two of the tests in test/documents (make check) fail
since the required input and output files are missing. This problem actually
persists at least since V1.0.30.

Alternatively, if the missing files do exist in the CVS please arrange to
have them included in the distribution.

*************************************

Something completely different:

'make check' for libxml2-2.6.6 outputs:

	## Scripts regression tests
	## Some of the base computations may be different if srcdir != .
	## Catalog regression tests

This is highly misleading because 'make check' with srcdir != . fails in a
rather horrible way.

I am quite aware that it might not at all be trivial to fix all the tests.

Until that is done (if ever), the best would probably be not to run any
tests if srcdir != . and output a message to that effect.

Contrary to this, 'make check' for libxslt-1.1.3 with srcdir != . succeeds
in all tests and there is only a reasonably small number of output lines
from the various diffs where the value of srcdir shows up.

*************************************

regards
Peter Breitenlohner <peb@mppmu.mpg.de>
diff -ur libxslt-1.1.3.orig/tests/documents/Makefile.am libxslt-1.1.3/tests/documents/Makefile.am
--- libxslt-1.1.3.orig/tests/documents/Makefile.am	2003-02-07 15:30:19.000000000 +0100
+++ libxslt-1.1.3/tests/documents/Makefile.am	2003-02-07 15:30:19.000000000 +0100
@@ -26,17 +26,8 @@
 	diff $(srcdir)/test.result result; \
 	grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true;\
 	rm -f result)
-	@($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/test.xsl $(srcdir)/test_bad.xml > result 2>err ; \
-	diff $(srcdir)/test_bad.result result; \
-	diff $(srcdir)/test_bad.err err; \
-	grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true;\
-	rm -f result err)
 	@($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/message.xsl $(srcdir)/message.xml > result 2>&1 ; \
 	diff $(srcdir)/message.result result; \
 	grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true;\
 	rm -f result)
-	@($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/fragment.xsl $(srcdir)/fragment.xml > result 2>&1 ; \
-	diff $(srcdir)/fragment.result result; \
-	grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true;\
-	rm -f result)
 
diff -ur libxslt-1.1.3.orig/tests/documents/Makefile.in libxslt-1.1.3/tests/documents/Makefile.in
--- libxslt-1.1.3.orig/tests/documents/Makefile.in	2004-02-16 16:00:14.000000000 +0100
+++ libxslt-1.1.3/tests/documents/Makefile.in	2004-02-16 16:00:14.000000000 +0100
@@ -293,19 +293,10 @@
 	diff $(srcdir)/test.result result; \
 	grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true;\
 	rm -f result)
-	@($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/test.xsl $(srcdir)/test_bad.xml > result 2>err ; \
-	diff $(srcdir)/test_bad.result result; \
-	diff $(srcdir)/test_bad.err err; \
-	grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true;\
-	rm -f result err)
 	@($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/message.xsl $(srcdir)/message.xml > result 2>&1 ; \
 	diff $(srcdir)/message.result result; \
 	grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true;\
 	rm -f result)
-	@($(CHECKER) $(top_builddir)/xsltproc/xsltproc $(srcdir)/fragment.xsl $(srcdir)/fragment.xml > result 2>&1 ; \
-	diff $(srcdir)/fragment.result result; \
-	grep "MORY ALLO" .memdump  | grep -v "MEMORY ALLOCATED : 0" || true;\
-	rm -f result)
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]