bison-patches
[Top][All Lists]
Advanced

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

FYI: Silent make check -C examples


From: Akim Demaille
Subject: FYI: Silent make check -C examples
Date: Mon, 10 Oct 2005 13:41:39 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        * examples/calc++/test: Be quiet unless VERBOSE.

Index: examples/calc++/test
===================================================================
RCS file: /cvsroot/bison/bison/examples/calc++/test,v
retrieving revision 1.2
diff -u -u -r1.2 test
--- examples/calc++/test 6 Jul 2005 07:49:25 -0000 1.2
+++ examples/calc++/test 10 Oct 2005 11:41:04 -0000
@@ -1,6 +1,9 @@
 #! /bin/sh
 
-set +e
+test -z "$VERBOSE" && {
+   exec > /dev/null 2>&1
+}
+
 cat >input <<EOF
 a := 1
 b := 2





reply via email to

[Prev in Thread] Current Thread [Next in Thread]