[xml] patch: Run valgrind with -q (quiet) flag



Unless you have a ~/.valgrindrc file specifying that valgrind runs quietly, it runs verbosely which makes seeing errors rather hard. The attached patch fixes that.

Rich.

--
Emerging Technologies, Red Hat  http://et.redhat.com/~rjones/
64 Baker Street, London, W1U 7DF     Mobile: +44 7866 314 421

Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.
Registered in England and Wales under Company Registration No. 3798903
Directors: Michael Cunningham (USA), Charlie Peters (USA) and David
Owens (Ireland)
Index: xstc/Makefile.am
===================================================================
--- xstc/Makefile.am    (revision 3605)
+++ xstc/Makefile.am    (working copy)
@@ -126,7 +126,7 @@
 valgrind:
        -@(if [ -x $(PYTHON) ] ; then                                   \
           echo '## Running the regression tests under Valgrind' ;      \
-          $(MAKE) CHECKER='valgrind' MAKEFLAGS+=--silent pytests ; fi);
+          $(MAKE) CHECKER='valgrind -q' MAKEFLAGS+=--silent pytests ; fi);
 
 clean:
        rm -f $(PYSCRIPTS) test.log
Index: doc/examples/Makefile.am
===================================================================
--- doc/examples/Makefile.am    (revision 3605)
+++ doc/examples/Makefile.am    (working copy)
@@ -96,7 +96,7 @@
 xpath2_LDADD= @RDL_LIBS@ $(LDADDS)
 
 valgrind: 
-       $(MAKE) CHECKER='valgrind' tests
+       $(MAKE) CHECKER='valgrind -q' tests
 
 tests: $(noinst_PROGRAMS)
        @(echo '## examples regression tests')
Index: Makefile.am
===================================================================
--- Makefile.am (revision 3605)
+++ Makefile.am (working copy)
@@ -167,7 +167,7 @@
 valgrind:
        @echo '## Running the regression tests under Valgrind'
        @echo '## Go get a cup of coffee it is gonna take a while ...'
-       $(MAKE) CHECKER='valgrind' tests
+       $(MAKE) CHECKER='valgrind -q' tests
 
 APItests: testapi$(EXEEXT)
        @echo "## Running the API regression tests this may take a little while"

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature



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