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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@261194 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi 2016-02-18 07:37:17 +00:00
parent 07e5326d7d
commit 20dee1f1c0
3 changed files with 14 additions and 0 deletions

View File

@ -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)

View File

@ -0,0 +1,7 @@
set(LLVM_LINK_COMPONENTS
Support
)
add_llvm_unittest(MITests
LiveIntervalTest.cpp
)

View File

@ -0,0 +1,6 @@
#include "gtest/gtest.h"
// FIXME: It may be removed when practical tests came.
TEST(LiveIntervalTest, DummyStub) {
EXPECT_TRUE(true);
}