diff options
author | Pavel Labath <labath@google.com> | 2018-06-05 09:33:26 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2018-06-05 09:33:26 +0000 |
commit | 8d1421d3170612be9fddca80776d7003ef4f3d0e (patch) | |
tree | 7b9e5bd4e24821d1baa422bf8d3d43a248129035 /lldb | |
parent | 0aafe0cee5e52135f6dc85b06210a265c619955d (diff) | |
download | bcm5719-llvm-8d1421d3170612be9fddca80776d7003ef4f3d0e.tar.gz bcm5719-llvm-8d1421d3170612be9fddca80776d7003ef4f3d0e.zip |
Fix ClangParserTest.cpp
The test does not use a test fixture, so it needs to be declared with
the TEST macro.
llvm-svn: 333992
Diffstat (limited to 'lldb')
-rw-r--r-- | lldb/unittests/Expression/ClangParserTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/unittests/Expression/ClangParserTest.cpp b/lldb/unittests/Expression/ClangParserTest.cpp index 6afcabf411c..1727be9f01f 100644 --- a/lldb/unittests/Expression/ClangParserTest.cpp +++ b/lldb/unittests/Expression/ClangParserTest.cpp @@ -24,7 +24,7 @@ static std::string ComputeClangDir(std::string lldb_shlib_path, return clang_dir.GetPath(); } -TEST_F(HostInfoTest, MacOSX) { +TEST(ClangHostTest, MacOSX) { // This returns whatever the POSIX fallback returns. std::string posix = "/usr/lib/liblldb.dylib"; EXPECT_FALSE(ComputeClangDir(posix).empty()); |