[libxml2] Redirect examples test output to /dev/null



commit d9e1198c61d516e4fe7e0895974548f8af85e639
Author: Nick Wellnhofer <wellnhofer aevum de>
Date:   Sat Apr 23 18:42:35 2022 +0200

    Redirect examples test output to /dev/null
    
    Regressed in commit c61e1273.

 doc/examples/Makefile.am | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am
index 9f72591b..56f0536c 100644
--- a/doc/examples/Makefile.am
+++ b/doc/examples/Makefile.am
@@ -86,9 +86,9 @@ check-local:
        @test -f Makefile.am || test -f test1.xml || $(LN_S) $(srcdir)/test?.xml .
        @(echo '## examples regression tests')
        @(echo > .memdump)
-       @$(CHECKER) ./io1
+       @$(CHECKER) ./io1 >/dev/null
        @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0
-       @$(CHECKER) ./io2
+       @$(CHECKER) ./io2 >/dev/null
        @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0
        @$(CHECKER) ./parse1 test1.xml
        @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0
@@ -98,22 +98,22 @@ check-local:
        @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0
        @$(CHECKER) ./parse4 test3.xml
        @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0
-       @$(CHECKER) ./reader1 test2.xml
+       @$(CHECKER) ./reader1 test2.xml >/dev/null
        @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0
-       @$(CHECKER) ./reader2 test2.xml
+       @$(CHECKER) ./reader2 test2.xml >/dev/null
        @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0
-       @$(CHECKER) ./reader3
+       @$(CHECKER) ./reader3 >/dev/null
        @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0
-       @$(CHECKER) ./reader4 test1.xml test2.xml test3.xml
+       @$(CHECKER) ./reader4 test1.xml test2.xml test3.xml >/dev/null
        @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0
        @$(CHECKER) ./testWriter
        @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0
-       @$(CHECKER) ./tree1 test2.xml
+       @$(CHECKER) ./tree1 test2.xml >/dev/null
        @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0
-       @$(CHECKER) ./tree2
+       @$(CHECKER) ./tree2 >/dev/null
        @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0
-       @$(CHECKER) ./xpath1 test3.xml '//child2'
+       @$(CHECKER) ./xpath1 test3.xml '//child2' >/dev/null
        @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0
-       @$(CHECKER) ./xpath2 test3.xml '//discarded' discarded
+       @$(CHECKER) ./xpath2 test3.xml '//discarded' discarded >/dev/null
        @grep "MORY ALLO" .memdump | grep -v "MEMORY ALLOCATED : 0" ; exit 0
        @rm -f *.tmp


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