mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-15 07:39:31 +00:00
Fixed a stupid error where changedir returned false upon success.
llvm-svn: 29357
This commit is contained in:
parent
9d77695860
commit
32c79d77eb
@ -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";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user