Skip to content

Commit

Permalink
Be more silent, no mail on no changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Reini Urban committed Jan 3, 2013
1 parent 481b7a9 commit d4301f7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
11 changes: 6 additions & 5 deletions smoke-parrot
Expand Up @@ -50,7 +50,8 @@ else
# ssh remote commands # ssh remote commands
remotehost=win remotehost=win
function ppc_init() { function ppc_init() {
opts=--without-pcre #opts=--without-pcre
opts=
} }
function solaris_init() { function solaris_init() {
compiler= compiler=
Expand Down Expand Up @@ -157,11 +158,11 @@ else
echo $newrev >$lock echo $newrev >$lock
echo $base $cmd $branch echo $base $cmd $branch
if test -n "$compiler"; then if test -n "$compiler"; then
echo $cmd $perl Configure.pl --cage --optimize --cc="$compiler" --link="$compiler" --ld="$compiler" $opts $@ echo $cmd $perl Configure.pl --debugging --cc="$compiler" --link="$compiler" --ld="$compiler" $opts $@
$cmd $perl Configure.pl --cage --optimize --cc="$compiler" --link="$compiler" --ld="$compiler" $opts $@ >/dev/null $cmd $perl Configure.pl --debugging --cc="$compiler" --link="$compiler" --ld="$compiler" $opts $@ >/dev/null
else else
echo $cmd $perl Configure.pl --cage --optimize $opts $@ echo $cmd $perl Configure.pl --debugging $opts $@
$cmd $perl Configure.pl --cage --optimize $opts $@ >/dev/null $cmd $perl Configure.pl --debugging $opts $@ >/dev/null
fi fi
$cmd $make -s $cmd $make -s
$cmd $make -s smolder_test $cmd $make -s smolder_test
Expand Down
5 changes: 3 additions & 2 deletions smoke-parrots
Expand Up @@ -42,7 +42,6 @@ do
done done
curbranch=`git name-rev --name-only HEAD` curbranch=`git name-rev --name-only HEAD`


echo $cmd $branches
for b in $branches for b in $branches
do do
fbranch="`echo $b|sed -e's,/,_,g'`" fbranch="`echo $b|sed -e's,/,_,g'`"
Expand All @@ -55,6 +54,7 @@ do
if [ -s $tmplog ]; then if [ -s $tmplog ]; then
mv $log $log.bak mv $log $log.bak
mv $tmplog $log mv $tmplog $log
echo $cmd $b
echo $log echo $log
head $log head $log
tail -n 15 $log tail -n 15 $log
Expand All @@ -64,4 +64,5 @@ done


git co -q $curbranch git co -q $curbranch
git reset -q --hard git reset -q --hard
test -n $stashname && git stash -q pop $stashname test -n $stashname && git stash pop $stashname 2>/dev/null >/dev/null

0 comments on commit d4301f7

Please sign in to comment.