From 2263203a94cb03e89d3462f7afeb39f2a47f1ca9 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Sun, 5 Sep 2004 07:58:10 +0000 Subject: [PATCH] Make the NightlyTest run tests out of projects/llvm-test instead of llvm/test/Programs llvm-svn: 16181 --- llvm/utils/NightlyTest.pl | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/llvm/utils/NightlyTest.pl b/llvm/utils/NightlyTest.pl index b4244cdb5dad..5be93b30bdb4 100755 --- a/llvm/utils/NightlyTest.pl +++ b/llvm/utils/NightlyTest.pl @@ -340,14 +340,16 @@ $CVSOPT = ""; $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 @@ my $ExternalProgramsTable = "!"; 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 @@ if ($BuildError eq "") { 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...