diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2016-02-18 07:37:17 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2016-02-18 07:37:17 +0000 |
commit | c1857d1d21c3c7ca3027d4e0cfaf3b2257421ca7 (patch) | |
tree | f6b05093cd7f8cd07d3b7c74f5d891f76e32263b | |
parent | 9bf3acd5ff8e55f5c102e189e3298366d341946f (diff) | |
download | bcm5719-llvm-c1857d1d21c3c7ca3027d4e0cfaf3b2257421ca7.tar.gz bcm5719-llvm-c1857d1d21c3c7ca3027d4e0cfaf3b2257421ca7.zip |
Make a stub version of MITests, instead of reverting.
Lit tends to find out-of-date unittests in the build tree.
FIXME: It may be reverted several days after.
llvm-svn: 261194
-rw-r--r-- | llvm/unittests/CMakeLists.txt | 1 | ||||
-rw-r--r-- | llvm/unittests/MI/CMakeLists.txt | 7 | ||||
-rw-r--r-- | llvm/unittests/MI/LiveIntervalTest.cpp | 6 |
3 files changed, 14 insertions, 0 deletions
diff --git a/llvm/unittests/CMakeLists.txt b/llvm/unittests/CMakeLists.txt index e5befcec6e0..48a573ac5bc 100644 --- a/llvm/unittests/CMakeLists.txt +++ b/llvm/unittests/CMakeLists.txt @@ -22,6 +22,7 @@ add_subdirectory(IR) add_subdirectory(LineEditor) add_subdirectory(Linker) add_subdirectory(MC) +add_subdirectory(MI) add_subdirectory(Option) add_subdirectory(ProfileData) add_subdirectory(Support) diff --git a/llvm/unittests/MI/CMakeLists.txt b/llvm/unittests/MI/CMakeLists.txt new file mode 100644 index 00000000000..e8a794515d8 --- /dev/null +++ b/llvm/unittests/MI/CMakeLists.txt @@ -0,0 +1,7 @@ +set(LLVM_LINK_COMPONENTS + Support + ) + +add_llvm_unittest(MITests + LiveIntervalTest.cpp + ) diff --git a/llvm/unittests/MI/LiveIntervalTest.cpp b/llvm/unittests/MI/LiveIntervalTest.cpp new file mode 100644 index 00000000000..534bd0d686a --- /dev/null +++ b/llvm/unittests/MI/LiveIntervalTest.cpp @@ -0,0 +1,6 @@ +#include "gtest/gtest.h" + +// FIXME: It may be removed when practical tests came. +TEST(LiveIntervalTest, DummyStub) { + EXPECT_TRUE(true); +} |