summaryrefslogtreecommitdiff
path: root/unittests/Makefile.unittest
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-13 18:43:46 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-13 18:43:46 +0000
commitdb0ce7d90f8737a8153fcaa17fcfc86dea8d5952 (patch)
tree0f4bf07ca74f2541150fe20ce0205bffd45bbc3f /unittests/Makefile.unittest
parent09abd1ccfc1541f5deb23e3e88a2fa49ea058dfa (diff)
downloadllvm-db0ce7d90f8737a8153fcaa17fcfc86dea8d5952.tar.gz
llvm-db0ce7d90f8737a8153fcaa17fcfc86dea8d5952.tar.bz2
llvm-db0ce7d90f8737a8153fcaa17fcfc86dea8d5952.tar.xz
Build (not test) the unittests as part of a normal build.
- 'make unittests' still builds and tests. - 'make unitcheck' inside a unittest directory runs the tests in that directory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81687 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Makefile.unittest')
-rw-r--r--unittests/Makefile.unittest2
1 files changed, 2 insertions, 0 deletions
diff --git a/unittests/Makefile.unittest b/unittests/Makefile.unittest
index 1c75e44d07..355e6a34f5 100644
--- a/unittests/Makefile.unittest
+++ b/unittests/Makefile.unittest
@@ -30,6 +30,8 @@ $(LLVMUnitTestExe): $(ObjectsO) $(ProjLibsPaths) $(LLVMLibsPaths)
$(StripWarnMsg)
all:: $(LLVMUnitTestExe)
+
+unitcheck:: $(LLVMUnitTestExe)
$(LLVMUnitTestExe)
endif