From: Brian Gaeke Date: Mon, 1 Dec 2003 05:31:12 +0000 (+0000) Subject: This may fix the "0 dirs" stuff we get in the nightly tests when they are X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=ac5d96b4e3da52f11984f5f010c482c151508b9b;p=oota-llvm.git This may fix the "0 dirs" stuff we get in the nightly tests when they are checking out over remote cvs connections. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10278 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/NightlyTest.pl b/utils/NightlyTest.pl index f20d8b6bb0a..61e621a0f03 100755 --- a/utils/NightlyTest.pl +++ b/utils/NightlyTest.pl @@ -182,8 +182,8 @@ my $TemplateContents = ReadFile $Template; # Get some static statistics about the current state of CVS # my $CVSCheckoutTime = GetRegex "([0-9.]+)", `grep '^real' $Prefix-CVS-Log.txt`; -my $NumFilesInCVS = `grep '^U' $Prefix-CVS-Log.txt | wc -l` + 0; -my $NumDirsInCVS = `grep '^cvs checkout' $Prefix-CVS-Log.txt | wc -l` + 0; +my $NumFilesInCVS = `egrep '^U' $Prefix-CVS-Log.txt | wc -l` + 0; +my $NumDirsInCVS = `egrep '^cvs (checkout|server|update):' $Prefix-CVS-Log.txt | wc -l` + 0; $LOC = GetRegex "([0-9]+) +total", `wc -l \`utils/getsrcs.sh\` | grep total`; #