aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-09-05 07:58:10 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-09-05 07:58:10 +0000
commit10ffe0134dca05784d3141b88c704d21bd11079a (patch)
tree0300ae5dcdb1feea8d9ab5be83b4faeed6b7d560 /utils
parent100bd718668f209dbd6b56a2c1ad3c6519f94761 (diff)
downloadexternal_llvm-10ffe0134dca05784d3141b88c704d21bd11079a.zip
external_llvm-10ffe0134dca05784d3141b88c704d21bd11079a.tar.gz
external_llvm-10ffe0134dca05784d3141b88c704d21bd11079a.tar.bz2
Make the NightlyTest run tests out of projects/llvm-test instead of
llvm/test/Programs git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16181 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rwxr-xr-xutils/NightlyTest.pl10
1 files changed, 6 insertions, 4 deletions
diff --git a/utils/NightlyTest.pl b/utils/NightlyTest.pl
index b4244cd..5be93b3 100755
--- a/utils/NightlyTest.pl
+++ b/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...