diff --git a/test/Makefile b/test/Makefile index 88573c55238..7204147715d 100644 --- a/test/Makefile +++ b/test/Makefile @@ -66,6 +66,15 @@ clang-tools-site-cfg: FORCE $(MAKE) -C $(PROJ_OBJ_DIR)/../tools/clang/tools/extra/test lit.site.cfg extra-site-cfgs:: clang-tools-site-cfg endif + +ifeq ($(shell test -f $(PROJ_OBJ_DIR)/../tools/polly/Makefile && echo OK), OK) +LIT_ALL_TESTSUITES += $(PROJ_OBJ_DIR)/../tools/polly/test + +# Force creation of Polly's lit.site.cfg. +polly-tools-site-cfg: FORCE + $(MAKE) -C $(PROJ_OBJ_DIR)/../tools/polly/test lit.site.cfg +extra-site-cfgs:: polly-tools-site-cfg +endif endif endif