PR11143: Save the old diagnostic handler and call it when munging diagnostics for...
[oota-llvm.git] / unittests / Makefile.unittest
index 8be6174cb908ac268778034816f9300a64bda8f6..580ad7d71918fe289a07264b7cb2e84b3326f2fc 100644 (file)
@@ -14,7 +14,9 @@
 # Set up variables for building a unit test.
 ifdef TESTNAME
 
+ifndef MAKEFILE_UNITTEST_NO_INCLUDE_COMMON
 include $(LEVEL)/Makefile.common
+endif
 
 LLVMUnitTestExe = $(BuildMode)/$(TESTNAME)Tests$(EXEEXT)