Add EXTRA_TESTDIRS variable for specifying additional test directories.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86122 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Makefile b/test/Makefile
index fdb9d8f..a67fcbd 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -11,6 +11,9 @@
 # 'lit' wants objdir paths, so it will pick up the lit.site.cfg.
 TESTDIRS := $(TESTDIRS:$(PROJ_SRC_DIR)%=$(PROJ_OBJ_DIR)%)
 
+# Allow EXTRA_TESTDIRS to provide additional test directories.
+TESTDIRS += $(EXTRA_TESTDIRS)
+
 ifndef TESTARGS
 ifdef VERBOSE
 TESTARGS = -v