projects
/
platform
/
upstream
/
automake.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'maint'
[platform/upstream/automake.git]
/
t
/
silent-many-gcc.sh
diff --git
a/t/silent-many-gcc.sh
b/t/silent-many-gcc.sh
index
8ad0720
..
433aaa6
100755
(executable)
--- a/
t/silent-many-gcc.sh
+++ b/
t/silent-many-gcc.sh
@@
-22,7
+22,7
@@
# 'silent-many-generic.test', which should work with generic compilers.
required='gcc g++ gfortran lex yacc'
# 'silent-many-generic.test', which should work with generic compilers.
required='gcc g++ gfortran lex yacc'
-. ./defs ||
E
xit 1
+. ./defs ||
e
xit 1
# Avoids too much code duplication.
do_and_check_silent_build ()
# Avoids too much code duplication.
do_and_check_silent_build ()
@@
-32,15
+32,15
@@
do_and_check_silent_build ()
*) rebuild=false;;
esac
*) rebuild=false;;
esac
- $MAKE >stdout || { cat stdout;
E
xit 1; }
+ $MAKE >stdout || { cat stdout;
e
xit 1; }
cat stdout
# Avoid spurious failures with SunStudio Fortran compilers.
sed '/^NOTICE:/d' stdout > t
mv -f t stdout
cat stdout
cat stdout
# Avoid spurious failures with SunStudio Fortran compilers.
sed '/^NOTICE:/d' stdout > t
mv -f t stdout
cat stdout
- $EGREP ' (-c|-o)' stdout &&
E
xit 1
- $EGREP '(mv|ylwrap) ' stdout &&
E
xit 1
+ $EGREP ' (-c|-o)' stdout &&
e
xit 1
+ $EGREP '(mv|ylwrap) ' stdout &&
e
xit 1
grep 'CXX .*foo1\.' stdout
grep 'CXX .*baz1\.' stdout
grep 'CXX .*foo1\.' stdout
grep 'CXX .*baz1\.' stdout
@@
-58,7
+58,7
@@
do_and_check_silent_build ()
grep 'CXXLD .*baz' stdout
grep 'CCLD .*bla' stdout
grep 'CXXLD .*baz' stdout
grep 'CCLD .*bla' stdout
- if
$rebuild; then :; else
+ if
! $rebuild; then
grep 'YACC .*foo6\.' stdout
grep 'YACC .*baz6\.' stdout
grep 'LEX .*foo5\.' stdout
grep 'YACC .*foo6\.' stdout
grep 'YACC .*baz6\.' stdout
grep 'LEX .*foo5\.' stdout
@@
-76,17
+76,17
@@
do_and_check_verbose_build ()
*) rebuild=false;;
esac
*) rebuild=false;;
esac
- $MAKE V=1 >stdout || { cat stdout;
E
xit 1; }
+ $MAKE V=1 >stdout || { cat stdout;
e
xit 1; }
cat stdout
grep ' -c ' stdout
grep ' -o ' stdout
cat stdout
grep ' -c ' stdout
grep ' -o ' stdout
- $EGREP '(CC|CXX|FC|F77|LD) ' stdout &&
E
xit 1
+ $EGREP '(CC|CXX|FC|F77|LD) ' stdout &&
e
xit 1
- if
$rebuild; then :; else
+ if
! $rebuild; then
grep 'ylwrap ' stdout
grep 'ylwrap ' stdout
- $EGREP '(LEX|YACC) ' stdout &&
E
xit 1
+ $EGREP '(LEX|YACC) ' stdout &&
e
xit 1
fi
unset rebuild
fi
unset rebuild