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

Reid Spencer reid at x10sys.com
Sun Sep 5 00:58:21 PDT 2004



Changes in directory llvm/utils:

NightlyTest.pl updated: 1.63 -> 1.64
---
Log message:

Make the NightlyTest run tests out of projects/llvm-test instead of
llvm/test/Programs


---
Diffs of the changes:  (+6 -4)

Index: llvm/utils/NightlyTest.pl
diff -u llvm/utils/NightlyTest.pl:1.63 llvm/utils/NightlyTest.pl:1.64
--- llvm/utils/NightlyTest.pl:1.63	Thu Aug  5 14:54:59 2004
+++ llvm/utils/NightlyTest.pl	Sun Sep  5 02:58:10 2004
@@ -340,14 +340,16 @@
 $CVSOPT = "-z3" if $CVSRootDir =~ /^:ext:/; # Use compression if going over ssh.
 if (!$NOCHECKOUT) {
   if ( $VERBOSE ) { print "CHECKOUT STAGE\n"; }
-  system "(time -p $NICE cvs $CVSOPT -d $CVSRootDir co llvm) > $CVSLog 2>&1";
+  system "(time -p ($NICE cvs $CVSOPT -d $CVSRootDir co -APR llvm; cd llvm/projects ; " .
+     "$NICE cvs $CVSOPT -d $CVSRootDir co -APR llvm-test ) ) > $CVSLog 2>&1";
+  ChangeDir( $BuildDir , "CVS Checkout directory") ;
 }
 
 ChangeDir( "llvm" , "llvm source directory") ;
 
 if (!$NOCHECKOUT) {
   if ( $VERBOSE ) { print "UPDATE STAGE\n"; }
-  system "$NICE cvs update -P -d >> $CVSLog 2>&1" ;
+  system "$NICE cvs update -PdRA >> $CVSLog 2>&1" ;
 }
 
 if ( $Template eq "" ) {
@@ -557,7 +559,7 @@
 sub TestDirectory {
   my $SubDir = shift;
 
-  ChangeDir( "test/Programs/$SubDir", "Programs Test Subdirectory" );
+  ChangeDir( "projects/llvm-test/$SubDir", "Programs Test Subdirectory" );
 
   my $ProgramTestLog = "$Prefix-$SubDir-ProgramTest.txt";
 
@@ -675,7 +677,7 @@
   my ($NATTime, $CBETime, $LLCTime, $JITTime, $OptTime, $BytecodeSize,
       $MachCodeSize) = ("","","","","","","");
   if (!$NORUNNINGTESTS) {
-    ChangeDir( "$BuildDir/llvm/test/Programs/MultiSource/Benchmarks/Olden",
+    ChangeDir( "$BuildDir/llvm/projects/llvm-test/MultiSource/Benchmarks/Olden",
       "Olden Test Directory");
 
     # Clean out previous results...






More information about the llvm-commits mailing list