X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=contrib%2Ftest_summary;h=a959078f1e1897eca311a03b67bcedbb4ec73d76;hb=c419de76938a37e7a50417456c73fdb3890709d0;hp=356d7b320acf70bf01d2fe51aa5ff64514b9f929;hpb=785116ce910c16a831e74ac39ac634e83f89717e;p=pf3gnuchains%2Fgcc-fork.git diff --git a/contrib/test_summary b/contrib/test_summary index 356d7b320ac..a959078f1e1 100755 --- a/contrib/test_summary +++ b/contrib/test_summary @@ -28,14 +28,19 @@ # test_summary | sh # so as to actually send e-mail and move log files # It accepts a few command line arguments. For example: -# -o: re-reads logs that have been mailed already (.sum.sent) -# -t: prevents logs from being renamed -# -p: prepend specified file (or list of files: -p "a b") to the report -# -i: append specified file (or list of files: -i "a b") to the report -# -m: specify the e-mail address to send notes to. An appropriate default -# should be selected from the log files. -# -f: force reports to be mailed; if omitted, only reports that differ -# from the sent.* version are sent. +if test x"$1" = "x-h"; then + cat <<_EOF + -o: re-reads logs that have been mailed already (.sum.sent) + -t: prevents logs from being renamed + -p: prepend specified file (or list of files: -p "a b") to the report + -i: append specified file (or list of files: -i "a b") to the report + -m: specify the e-mail address to send notes to. An appropriate default + should be selected from the log files. + -f: force reports to be mailed; if omitted, only reports that differ + from the sent.* version are sent. +_EOF + exit 0 +fi # Find a good awk. if test -z "$AWK" ; then @@ -122,6 +127,7 @@ $2 == "version" { save = $0; $1 = ""; $2 = ""; version = $0; gsub(/^ */, "", ver /\===.*Summary/ { print ""; print; blanks=1; } /tests ===/ || /^(Target|Host|Native)/ || $2 == "version" { print; blanks=1; } /^(XPASS|FAIL|UNRESOLVED|WARNING|ERROR|# of )/ { print; } +/^using:/ { print ""; print; print ""; } # dumpall != 0 && /^X?(PASS|FAIL|UNTESTED)|^testcase/ { dumpall=0; } # dumpall != 0 { print; } # /^FAIL/ { dumpall=1; }