aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-09-06 19:32:55 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-09-06 19:32:55 +0000
commite993f46de98ffe2671ee660cf540d68640f5689d (patch)
treec99b59f79cb02060f7f897656f20e4ad227ec6ea
parent65e731d99a1c12924b1b457ad7b6eaa235b269ef (diff)
Modify the lines of code counting mechanism to use the new "countloc.sh"
utility. This avoids some problems with long line lengths and counting the wrong things. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16200 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-xutils/NightlyTest.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/NightlyTest.pl b/utils/NightlyTest.pl
index 8137d3ea52..059d0c0b40 100755
--- a/utils/NightlyTest.pl
+++ b/utils/NightlyTest.pl
@@ -372,7 +372,7 @@ my $TemplateContents = ReadFile $Template;
my $CVSCheckoutTime = GetRegex "([0-9.]+)", `grep '^real' $CVSLog`;
my $NumFilesInCVS = `egrep '^U' $CVSLog | wc -l` + 0;
my $NumDirsInCVS = `egrep '^cvs (checkout|server|update):' $CVSLog | wc -l` + 0;
-$LOC = GetRegex "([0-9]+) +total", `wc -l \`utils/getsrcs.sh\` | grep total`;
+$LOC = `utils/countloc.sh`;
#
# Build the entire tree, saving build messages to the build log