projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da33900
)
Fix silly error in unittest helper.
author
Zachary Turner
<zturner@google.com>
Wed, 5 Sep 2018 23:45:48 +0000
(23:45 +0000)
committer
Zachary Turner
<zturner@google.com>
Wed, 5 Sep 2018 23:45:48 +0000
(23:45 +0000)
llvm-svn: 341505
llvm/lib/Testing/Support/SupportHelpers.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Testing/Support/SupportHelpers.cpp
b/llvm/lib/Testing/Support/SupportHelpers.cpp
index
c266979
..
ce64d6e
100644
(file)
--- a/
llvm/lib/Testing/Support/SupportHelpers.cpp
+++ b/
llvm/lib/Testing/Support/SupportHelpers.cpp
@@
-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);