summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-10-16 02:54:14 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-10-16 02:54:14 +0000
commit40a436018625d5d954d5ee172fd0731660f91b67 (patch)
treed6c147c5d91189725c66e9a75c1a9b78de5dbc63 /test/Makefile
parent9a6d61554fcf24a9a1e2270e3424fb060d7ff5d5 (diff)
downloadllvm-40a436018625d5d954d5ee172fd0731660f91b67.tar.gz
llvm-40a436018625d5d954d5ee172fd0731660f91b67.tar.bz2
llvm-40a436018625d5d954d5ee172fd0731660f91b67.tar.xz
test/Makefile: Inspect $(PROJ_OBJ_ROOT)/tools/clang/Makefile instead of $(PROJ_SRC_ROOT)/tools/clang for "check-all".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142100 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile
index c0bc36c54d..b1550df48a 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -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.