diff options
author | Patrick Jenkins <pjenkins@apple.com> | 2006-07-27 19:22:06 +0000 |
---|---|---|
committer | Patrick Jenkins <pjenkins@apple.com> | 2006-07-27 19:22:06 +0000 |
commit | 278a6b5045ec63bd27784cd25727994ff2996ecb (patch) | |
tree | b36efc63a919834ac92f1e87e7e4d46e186b02e1 /utils/NewNightlyTest.pl | |
parent | c281b0d9a4df804f479cf5e2c4df0ca15a5611c0 (diff) | |
download | llvm-278a6b5045ec63bd27784cd25727994ff2996ecb.tar.gz llvm-278a6b5045ec63bd27784cd25727994ff2996ecb.tar.bz2 llvm-278a6b5045ec63bd27784cd25727994ff2996ecb.tar.xz |
Fixed a stupid error where changedir returned false upon success.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29357 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/NewNightlyTest.pl')
-rwxr-xr-x | utils/NewNightlyTest.pl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/NewNightlyTest.pl b/utils/NewNightlyTest.pl index 302009124d..0a604d3f2c 100755 --- a/utils/NewNightlyTest.pl +++ b/utils/NewNightlyTest.pl @@ -307,7 +307,6 @@ sub ChangeDir { # directory, logical name print "ERROR!!! Cannot change directory to: $name ($dir) because $!"; return -1; } - return 0; } #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -783,7 +782,7 @@ my ($WarningsAdded, $WarningsRemoved) = DiffFiles "-Warnings.txt"; 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"; |