]> xenbits.xensource.com Git - people/dariof/osstest.git/commitdiff
cr-daily-branch: Limit "people who touched" listing
authorIan Jackson <ian.jackson@eu.citrix.com>
Wed, 5 Feb 2014 16:55:51 +0000 (16:55 +0000)
committerIan Jackson <iwj@woking.cam.xci-test.com>
Thu, 6 Feb 2014 11:41:56 +0000 (11:41 +0000)
Sometimes this can be very large, which can result in the results
postings getting discarded.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
cr-daily-branch

index fa29045ac889061d4309e06fa7d0394ef5987102..da6cf2fe86cc4bed623ecc2e7bc748c25b7048e8 100755 (executable)
@@ -229,6 +229,13 @@ People who touched revisions under test:
 END
                 ./adhoc-people-touched-filter <$revlog \
                         >>tmp/$flight.people-touched
+               touched_lines=`wc -l <tmp/$flight.people-touched`
+               if [ $touched_lines -gt 300 ]; then
+                       cat <<END >tmp/$flight.people-touched
+$(( $touched_lines - 1 )) people touched revisions under test,
+not listing them all
+END
+               fi
                 sgr_args+=" --include=tmp/$flight.people-touched"
         fi
         ;;