summaryrefslogtreecommitdiff
path: root/unittests/Bitcode
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2012-08-15 19:34:23 +0000
committerDimitry Andric <dim@FreeBSD.org>2012-08-15 19:34:23 +0000
commit58b69754af0cbff56b1cfce9be9392e4451f6628 (patch)
treeeacfc83d988e4b9d11114387ae7dc41243f2a363 /unittests/Bitcode
parent0378662f5bd3dbe8305a485b0282bceb8b52f465 (diff)
Notes
Diffstat (limited to 'unittests/Bitcode')
-rw-r--r--unittests/Bitcode/CMakeLists.txt8
-rw-r--r--unittests/Bitcode/Makefile2
2 files changed, 9 insertions, 1 deletions
diff --git a/unittests/Bitcode/CMakeLists.txt b/unittests/Bitcode/CMakeLists.txt
new file mode 100644
index 000000000000..d8f5fe1f191d
--- /dev/null
+++ b/unittests/Bitcode/CMakeLists.txt
@@ -0,0 +1,8 @@
+set(LLVM_LINK_COMPONENTS
+ BitReader
+ BitWriter
+ )
+
+add_llvm_unittest(BitcodeTests
+ BitReaderTest.cpp
+ )
diff --git a/unittests/Bitcode/Makefile b/unittests/Bitcode/Makefile
index aa437e7e2cc5..fcec87948fd9 100644
--- a/unittests/Bitcode/Makefile
+++ b/unittests/Bitcode/Makefile
@@ -9,7 +9,7 @@
LEVEL = ../..
TESTNAME = Bitcode
-LINK_COMPONENTS := core support bitreader bitwriter
+LINK_COMPONENTS := bitreader bitwriter
include $(LEVEL)/Makefile.config
include $(LLVM_SRC_ROOT)/unittests/Makefile.unittest