mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
Fix silly error in unittest helper.
llvm-svn: 341505
This commit is contained in:
parent
19a1c00664
commit
910d9dfcf8
@ -20,7 +20,7 @@ SmallString<128> llvm::unittest::getInputFileDirectory() {
|
||||
llvm::sys::fs::make_absolute(Result);
|
||||
llvm::sys::path::append(Result, "llvm.srcdir.txt");
|
||||
|
||||
EXPECT_TRUE(llvm::sys::fs::is_directory(Result))
|
||||
EXPECT_TRUE(llvm::sys::fs::is_regular_file(Result))
|
||||
<< "Unit test source directory file does not exist.";
|
||||
|
||||
auto File = MemoryBuffer::getFile(Result);
|
||||
|
Loading…
Reference in New Issue
Block a user