aboutsummaryrefslogtreecommitdiffstats
path: root/unittests
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
parent09abd1ccfc1541f5deb23e3e88a2fa49ea058dfa (diff)
downloadexternal_llvm-db0ce7d90f8737a8153fcaa17fcfc86dea8d5952.zip
external_llvm-db0ce7d90f8737a8153fcaa17fcfc86dea8d5952.tar.gz
external_llvm-db0ce7d90f8737a8153fcaa17fcfc86dea8d5952.tar.bz2
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')
-rw-r--r--unittests/Makefile.unittest2
1 files changed, 2 insertions, 0 deletions
diff --git a/unittests/Makefile.unittest b/unittests/Makefile.unittest
index 1c75e44..355e6a3 100644
--- a/unittests/Makefile.unittest
+++ b/unittests/Makefile.unittest
@@ -30,6 +30,8 @@ $(LLVMUnitTestExe): $(ObjectsO) $(ProjLibsPaths) $(LLVMLibsPaths)
$(StripWarnMsg)
all:: $(LLVMUnitTestExe)
+
+unitcheck:: $(LLVMUnitTestExe)
$(LLVMUnitTestExe)
endif