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

Patrick Jenkins pjenkins at apple.com
Thu Jul 27 14:22:20 CDT 2006



Changes in directory llvm/utils:

NewNightlyTest.pl updated: 1.31 -> 1.32
---
Log message:

Fixed a stupid error where changedir returned false upon success.


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

 NewNightlyTest.pl |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)


Index: llvm/utils/NewNightlyTest.pl
diff -u llvm/utils/NewNightlyTest.pl:1.31 llvm/utils/NewNightlyTest.pl:1.32
--- llvm/utils/NewNightlyTest.pl:1.31	Thu Jul 27 14:00:01 2006
+++ llvm/utils/NewNightlyTest.pl	Thu Jul 27 14:22:06 2006
@@ -307,7 +307,6 @@
     	print "ERROR!!! Cannot change directory to: $name ($dir) because $!"; 
     	return -1;
     }
-    return 0;
 }
 
 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -783,7 +782,7 @@
 sub TestDirectory {
 	my $SubDir = shift;
 	
-	ChangeDir( "projects/llvm-test/$SubDir", "Programs Test Subdirectory" ) || return ("", "");
+	ChangeDir( "$BuildDir/llvm/projects/llvm-test/$SubDir", "Programs Test Subdirectory" ) || return ("", "");
 	
 	my $ProgramTestLog = "$Prefix-$SubDir-ProgramTest.txt";
 	






More information about the llvm-commits mailing list