test/Makefile: Inspect $(PROJ_OBJ_ROOT)/tools/clang/Makefile instead of $(PROJ_SRC_RO...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 16 Oct 2011 02:54:14 +0000 (02:54 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 16 Oct 2011 02:54:14 +0000 (02:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142100 91177308-0d34-0410-b5e6-96231b3b80d8

test/Makefile

index c0bc36c54dbc67f1abc68e26adc6068bd4cc43af..b1550df48a2bb8bcbe9f7b1ab4613a2a0a4b2719 100644 (file)
@@ -59,7 +59,7 @@ extra-lit-site-cfgs::
 
 ifneq ($(strip $(filter check-local-all,$(MAKECMDGOALS))),)
 ifndef TESTSUITE
-ifeq ($(shell test -d $(PROJ_SRC_DIR)/../tools/clang && echo OK), OK)
+ifeq ($(shell test -f $(PROJ_OBJ_DIR)/../tools/clang/Makefile && echo OK), OK)
 LIT_ALL_TESTSUITES += $(PROJ_OBJ_DIR)/../tools/clang/test
 
 # Force creation of Clang's lit.site.cfg.