This may fix the "0 dirs" stuff we get in the nightly tests when they are
authorBrian Gaeke <gaeke@uiuc.edu>
Mon, 1 Dec 2003 05:31:12 +0000 (05:31 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Mon, 1 Dec 2003 05:31:12 +0000 (05:31 +0000)
checking out over remote cvs connections.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10278 91177308-0d34-0410-b5e6-96231b3b80d8

utils/NightlyTest.pl

index f20d8b6bb0a6c1f40bb06f47966be2a805af7a03..61e621a0f0351a7985361a2664ed6474feb1b1a3 100755 (executable)
@@ -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`;
 
 #