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
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 @@
           $(StripWarnMsg)
 
 all:: $(LLVMUnitTestExe)
+
+unitcheck:: $(LLVMUnitTestExe)
 	$(LLVMUnitTestExe)
 
 endif