[xml] patch for 'make check'

Date view Thread view Subject view Author view

From: Martin Vidner (martin@artax.karlin.mff.cuni.cz)
Date: Sat Jan 06 2001 - 12:57:19 EST


Hi,

'make check' was broken because of missing path to testHTML in
Makefile.am.
Patch is included, enjoy.

Martin

--- Makefile.am~ Fri Jan 5 07:39:25 2001
+++ Makefile.am Sat Jan 6 17:13:34 2001
@@ -95,14 +95,14 @@
           if [ ! -d $$i ] ; then \
           if [ ! -f $(srcdir)/result/HTML/$$name ] ; then \
               echo New test file $$name ; \
- testHTML $$i > $(srcdir)/result/HTML/$$name 2>$(srcdir)/result/HTML/$$name.err ; \
+ $(top_builddir)/testHTML $$i > $(srcdir)/result/HTML/$$name 2>$(srcdir)/result/HTML/$$name.err ; \
           else \
               echo Testing $$name ; \
- testHTML $$i > result.$$name 2> error.$$name ; \
+ $(top_builddir)/testHTML $$i > result.$$name 2> error.$$name ; \
               grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
               diff $(srcdir)/result/HTML/$$name result.$$name ; \
               diff -b $(srcdir)/result/HTML/$$name.err error.$$name ; \
- testHTML result.$$name > result2.$$name 2>error.$$name ; \
+ $(top_builddir)/testHTML result.$$name > result2.$$name 2>error.$$name ; \
               diff result.$$name result2.$$name ; \
               rm result.$$name result2.$$name error.$$name ; \
           fi ; fi ; done)
@@ -114,16 +114,16 @@
           if [ ! -d $$i ] ; then \
           if [ ! -f $(srcdir)/result/HTML/$$name ] ; then \
               echo New test file $$name ; \
- testHTML $$i > $(srcdir)/result/HTML/$$name 2>$(srcdir)/result/HTML/$$name.err ; \
+ $(top_builddir)/testHTML $$i > $(srcdir)/result/HTML/$$name 2>$(srcdir)/result/HTML/$$name.err ; \
           else \
               echo Testing $$name ; \
- testHTML --push $$i > result.$$name 2> error.$$name ; \
+ $(top_builddir)/testHTML --push $$i > result.$$name 2> error.$$name ; \
               grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
               diff $(srcdir)/result/HTML/$$name result.$$name ; \
               cut -b 1-15 $(srcdir)/result/HTML/$$name.err > errorcut.$$name; \
               cut -b 1-15 error.$$name > errorcut2.$$name; \
               diff -b errorcut.$$name errorcut2.$$name ; \
- testHTML --push result.$$name > result2.$$name 2>error.$$name ; \
+ $(top_builddir)/testHTML --push result.$$name > result2.$$name 2>error.$$name ; \
               diff result.$$name result2.$$name ; \
               rm result.$$name result2.$$name error.$$name errorcut.$$name errorcut2.$$name ; \
           fi ; fi ; done)
@@ -135,10 +135,10 @@
           if [ ! -d $$i ] ; then \
           if [ ! -f $(srcdir)/result/HTML/$$name.sax ] ; then \
               echo New test file $$name ; \
- testHTML --sax $$i > $(srcdir)/result/HTML/$$name.sax ; \
+ $(top_builddir)/testHTML --sax $$i > $(srcdir)/result/HTML/$$name.sax ; \
           else \
               echo Testing $$name ; \
- testHTML --sax $$i > result.$$name.sax ; \
+ $(top_builddir)/testHTML --sax $$i > result.$$name.sax ; \
               grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
               diff $(srcdir)/result/HTML/$$name.sax result.$$name.sax ; \
               rm result.$$name.sax ; \
@@ -151,10 +151,10 @@
           if [ ! -d $$i ] ; then \
           if [ ! -f $(srcdir)/result/HTML/$$name ] ; then \
               echo New test file $$name ; \
- testHTML --sax $$i > $(srcdir)/result/HTML/$$name.sax ; \
+ $(top_builddir)/testHTML --sax $$i > $(srcdir)/result/HTML/$$name.sax ; \
           else \
               echo Testing $$name ; \
- testHTML --push --sax $$i > result.$$name.sax ; \
+ $(top_builddir)/testHTML --push --sax $$i > result.$$name.sax ; \
               grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0";\
               diff $(srcdir)/result/HTML/$$name.sax result.$$name.sax ; \
               rm result.$$name.sax ; \

----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Jan 06 2001 - 13:43:45 EST