[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] silent-many-generic: be stricter in silent rules pattern
From: |
Dave Goodell |
Subject: |
[PATCH] silent-many-generic: be stricter in silent rules pattern |
Date: |
Mon, 27 Feb 2012 16:06:52 -0600 |
Otherwise non-silent output such as "pgCC" or "sunCC" could
unintentionally match.
---
tests/silent-many-generic.test | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/tests/silent-many-generic.test b/tests/silent-many-generic.test
index a7a0487..4d254ee 100755
--- a/tests/silent-many-generic.test
+++ b/tests/silent-many-generic.test
@@ -83,7 +83,8 @@ do_and_check_verbose_build ()
grep ' -c ' stdout
grep ' -o ' stdout
- $EGREP '(CC|CXX|FC|F77|LD) ' stdout && Exit 1
+ # leading space avoids matching "pgCC" and similar
+ $EGREP ' (CC|CXX|FC|F77|LD) ' stdout && Exit 1
if $rebuild; then :; else
grep 'ylwrap ' stdout
--
1.7.0.4
- [PATCH] silent-many-generic: be stricter in silent rules pattern,
Dave Goodell <=