diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2008-03-05 05:49:03 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2008-03-05 05:49:03 (GMT) |
commit | 64984a895e994859f8e61487ab940d8d8c99020a (patch) | |
tree | 5751f5ae866ba21e821f588fce58305036a22950 /Misc/build.sh | |
parent | 48309d5a4b7e1a351b0612ac13d172e638b4a1bb (diff) | |
download | cpython-64984a895e994859f8e61487ab940d8d8c99020a.zip cpython-64984a895e994859f8e61487ab940d8d8c99020a.tar.gz cpython-64984a895e994859f8e61487ab940d8d8c99020a.tar.bz2 |
Tabs -> spaces
Diffstat (limited to 'Misc/build.sh')
-rwxr-xr-x | Misc/build.sh | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/Misc/build.sh b/Misc/build.sh index 690b920..7f33698 100755 --- a/Misc/build.sh +++ b/Misc/build.sh @@ -93,7 +93,7 @@ update_status() { place_summary_first() { testf=$1 sed -n '/^[0-9][0-9]* tests OK\./,$p' < $testf \ - | egrep -v '\[[0-9]+ refs\]' > $testf.tmp + | egrep -v '\[[0-9]+ refs\]' > $testf.tmp echo "" >> $testf.tmp cat $testf >> $testf.tmp mv $testf.tmp $testf @@ -103,7 +103,7 @@ count_failures () { testf=$1 n=`grep -ic " failed:" $testf` if [ $n -eq 1 ] ; then - n=`grep " failed:" $testf | sed -e 's/ .*//'` + n=`grep " failed:" $testf | sed -e 's/ .*//'` fi echo $n } @@ -115,17 +115,17 @@ mail_on_failure() { if [ "$FAILURE_CC" != "" ]; then dest="$dest -c $FAILURE_CC" fi - if [ "x$3" != "x" ] ; then - (echo "More important issues:" - echo "----------------------" - egrep -v "$3" < $2 - echo "" - echo "Less important issues:" - echo "----------------------" - egrep "$3" < $2) + if [ "x$3" != "x" ] ; then + (echo "More important issues:" + echo "----------------------" + egrep -v "$3" < $2 + echo "" + echo "Less important issues:" + echo "----------------------" + egrep "$3" < $2) else - cat $2 - fi | mutt -s "$FAILURE_SUBJECT $1 ($NUM_FAILURES)" $dest + cat $2 + fi | mutt -s "$FAILURE_SUBJECT $1 ($NUM_FAILURES)" $dest fi } @@ -222,7 +222,7 @@ if [ $err = 0 -a "$BUILD_DISABLED" != "yes" ]; then ## ensure that the reflog exists so the grep doesn't fail touch $REFLOG $PYTHON $REGRTEST_ARGS -R 4:3:$REFLOG -u network $LEAKY_SKIPS >& build/$F - LEAK_PAT="($LEAKY_TESTS|sum=0)" + LEAK_PAT="($LEAKY_TESTS|sum=0)" NUM_FAILURES=`egrep -vc "$LEAK_PAT" $REFLOG` place_summary_first build/$F update_status "Testing refleaks ($NUM_FAILURES failures)" "$F" $start |