[llvm-commits] CVS: llvm/utils/NightlyTest.pl

Reid Spencer reid at x10sys.com
Mon Sep 6 12:33:05 PDT 2004



Changes in directory llvm/utils:

NightlyTest.pl updated: 1.65 -> 1.66
---
Log message:

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.


---
Diffs of the changes:  (+1 -1)

Index: llvm/utils/NightlyTest.pl
diff -u llvm/utils/NightlyTest.pl:1.65 llvm/utils/NightlyTest.pl:1.66
--- llvm/utils/NightlyTest.pl:1.65	Sun Sep  5 15:57:22 2004
+++ llvm/utils/NightlyTest.pl	Mon Sep  6 14:32:55 2004
@@ -372,7 +372,7 @@
 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






More information about the llvm-commits mailing list