mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-30 23:20:54 +00:00
[Support] Make the SystemZ bot happy by using make_error_code.
This should fix the last issue on the SystemZ bot related to the broken symlink test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297767 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bea559baff
commit
c4630f9d5b
@ -825,7 +825,8 @@ TEST_F(FileSystemTest, BrokenSymlinkDirectoryIteration) {
|
||||
ASSERT_NO_ERROR(ec);
|
||||
|
||||
fs::file_status status;
|
||||
if (i->status(status) == std::errc::no_such_file_or_directory) {
|
||||
if (i->status(status) ==
|
||||
std::make_error_code(std::errc::no_such_file_or_directory)) {
|
||||
i.no_push();
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user