]> git.saurik.com Git - bison.git/blobdiff - examples/calc++/test
* examples/calc++/test: Use set -x only when VERBOSE.
[bison.git] / examples / calc++ / test
index b2766e0f37e102584a5be3a1c79b182644db5b26..2f8a0454f9e74021d43202d7eabdcb90e92564ca 100755 (executable)
@@ -2,6 +2,7 @@
 
 test -z "$VERBOSE" && {
    exec > /dev/null 2>&1
+   set -x
 }
 
 cat >input <<EOF
@@ -21,8 +22,6 @@ d := a + b * c
 EOF
 ./calc++ input
 
-set -x
-echo toto
 cat >input <<EOF
 toto := 1
 toto