summaryrefslogtreecommitdiff
path: root/unittests/Makefile.unittest
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-13 22:39:27 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-13 22:39:27 +0000
commit7f068f47a3a642674db20626284e65460dc0b1d6 (patch)
treee52e098fd56608b4aea80f66d4f91f30af69126a /unittests/Makefile.unittest
parentb92c36331dd9c1102b99dc795f14513503ec3e29 (diff)
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@81725 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 1c75e44d077..355e6a34f51 100644
--- a/unittests/Makefile.unittest
+++ b/unittests/Makefile.unittest
@@ -30,6 +30,8 @@ $(LLVMUnitTestExe): $(ObjectsO) $(ProjLibsPaths) $(LLVMLibsPaths)
$(StripWarnMsg)
all:: $(LLVMUnitTestExe)
+
+unitcheck:: $(LLVMUnitTestExe)
$(LLVMUnitTestExe)
endif