[llvm-commits] [llvm] r84479 - /llvm/trunk/utils/NewNightlyTest.pl

Daniel Dunbar daniel at zuster.org
Mon Oct 19 02:18:59 PDT 2009


Author: ddunbar
Date: Mon Oct 19 04:18:54 2009
New Revision: 84479

URL: http://llvm.org/viewvc/llvm-project?rev=84479&view=rev
Log:
NNT: Remove now-unused -cvstag argument and CVSROOT code.

Modified:
    llvm/trunk/utils/NewNightlyTest.pl

Modified: llvm/trunk/utils/NewNightlyTest.pl
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/NewNightlyTest.pl?rev=84479&r1=84478&r2=84479&view=diff

==============================================================================
--- llvm/trunk/utils/NewNightlyTest.pl (original)
+++ llvm/trunk/utils/NewNightlyTest.pl Mon Oct 19 04:18:54 2009
@@ -48,8 +48,6 @@
 #  -release         Build an LLVM Release version
 #  -release-asserts Build an LLVM ReleaseAsserts version
 #  -disable-bindings     Disable building LLVM bindings.
-#  -cvstag          Check out a specific CVS tag to build LLVM (useful for
-#                   testing release branches)
 #  -with-clang      Checkout Clang source into tools/clang.
 #  -compileflags    Next argument specifies extra options passed to make when
 #                   building LLVM.
@@ -92,12 +90,10 @@
 #  -ldflags         Next argument specifies that linker options that override
 #                   the default.
 #
-# CVSROOT is the CVS repository from which the tree will be checked out,
-#  specified either in the full :method:user at host:/dir syntax, or
-#  just /dir if using a local repo.
+# CVSROOT is ignored, it is passed for backwards compatibility.
 # BUILDDIR is the directory where sources for this test run will be checked out
 #  AND objects for this test run will be built. This directory MUST NOT
-#  exist before the script is run; it will be created by the cvs checkout
+#  exist before the script is run; it will be created by the svn checkout
 #  process and erased (unless -noremove is specified; see above.)
 # WEBDIR is the directory into which the test results web page will be written,
 #  AND in which the "index.html" is assumed to be a symlink to the most recent
@@ -115,8 +111,6 @@
 $SVNURL        = 'http://llvm.org/svn/llvm-project' unless $SVNURL;
 my $TestSVNURL = $ENV{"TestSVNURL"};
 $TestSVNURL    = 'http://llvm.org/svn/llvm-project' unless $TestSVNURL;
-my $CVSRootDir = $ENV{'CVSROOT'};
-$CVSRootDir    = "/home/vadve/shared/PublicCVS" unless $CVSRootDir;
 my $BuildDir   = $ENV{'BUILDDIR'};
 $BuildDir      = "$HOME/buildtest" unless $BuildDir;
 my $WebDir     = $ENV{'WEBDIR'};
@@ -206,8 +200,6 @@
                              " CC=$ARGV[0]/gcc CXX=$ARGV[0]/g++";
                              $GCCPATH=$ARGV[0]; shift;  next; }
   else                     { $GCCPATH=""; }
-  if (/^-cvstag/)          { $CVSCOOPT .= " -r $ARGV[0]"; shift; next; }
-  else                     { $CVSCOOPT="";}
   if (/^-target/)          { $CONFIGUREARGS .= " --target=$ARGV[0]";
                              shift; next; }
   if (/^-cflags/)          { $MAKEOPTS = "$MAKEOPTS C.Flags=\'$ARGV[0]\'";
@@ -254,16 +246,14 @@
 }
 
 if (@ARGV == 3) {
-  $CVSRootDir = $ARGV[0];
+  # ARGV[0] used to be the CVS root, ignored for backward compatibility.
   $BuildDir   = $ARGV[1];
   $WebDir     = $ARGV[2];
 }
 
-if ($CVSRootDir eq "" or
-    $BuildDir   eq "" or
+if ($BuildDir   eq "" or
     $WebDir     eq "") {
-  die("please specify a cvs root directory, a build directory, and a ".
-       "web directory");
+  die("please specify a build directory, and a web directory");
  }
 
 if ($nickname eq "") {
@@ -577,7 +567,7 @@
 
 ##############################################################
 #
-# Create the CVS repository directory
+# Create the source repository directory
 #
 ##############################################################
 if (!$NOCHECKOUT) {
@@ -601,7 +591,7 @@
 
 ##############################################################
 #
-# Check out the llvm tree, using either SVN or CVS
+# Check out the llvm tree with SVN
 #
 ##############################################################
 if (!$NOCHECKOUT) {
@@ -621,7 +611,7 @@
 
 ##############################################################
 #
-# Get some static statistics about the current state of CVS
+# Get some static statistics about the current source code
 #
 # This can probably be put on the server side
 #
@@ -1110,7 +1100,7 @@
 
 ##############################################################
 #
-# Remove the cvs tree...
+# Remove the source tree...
 #
 ##############################################################
 system ( "$NICE rm -rf $BuildDir")





More information about the llvm-commits mailing list