r200147 - clang-check: Unittests doesn't requires tools.

NAKAMURA Takumi geek4civic at gmail.com
Sun Jan 26 04:35:07 PST 2014


Author: chapuni
Date: Sun Jan 26 06:35:07 2014
New Revision: 200147

URL: http://llvm.org/viewvc/llvm-project?rev=200147&view=rev
Log:
clang-check: Unittests doesn't requires tools.

Modified:
    cfe/trunk/test/Makefile
    cfe/trunk/test/Unit/lit.site.cfg.in

Modified: cfe/trunk/test/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Makefile?rev=200147&r1=200146&r2=200147&view=diff
==============================================================================
--- cfe/trunk/test/Makefile (original)
+++ cfe/trunk/test/Makefile Sun Jan 26 06:35:07 2014
@@ -55,7 +55,6 @@ lit.site.cfg: FORCE
 Unit/lit.site.cfg: FORCE
 	@echo "Making Clang 'Unit/lit.site.cfg' file..."
 	@$(MKDIR) $(dir $@)
-	@$(ECHOPATH) s=@LLVM_TOOLS_DIR@=$(ToolDir)=g >> unit.tmp
 	@$(ECHOPATH) s=@LLVM_LIBS_DIR@=$(LibDir)=g >> unit.tmp
 	@$(ECHOPATH) s=@CLANG_SOURCE_DIR@=$(PROJ_SRC_DIR)/..=g >> unit.tmp
 	@$(ECHOPATH) s=@CLANG_BINARY_DIR@=$(PROJ_OBJ_DIR)/..=g >> unit.tmp

Modified: cfe/trunk/test/Unit/lit.site.cfg.in
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Unit/lit.site.cfg.in?rev=200147&r1=200146&r2=200147&view=diff
==============================================================================
--- cfe/trunk/test/Unit/lit.site.cfg.in (original)
+++ cfe/trunk/test/Unit/lit.site.cfg.in Sun Jan 26 06:35:07 2014
@@ -2,7 +2,6 @@ import sys
 
 ## Autogenerated by LLVM/Clang configuration.
 # Do not edit!
-config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
 config.llvm_libs_dir = "@LLVM_LIBS_DIR@"
 config.llvm_build_mode = "@LLVM_BUILD_MODE@"
 config.clang_obj_root = "@CLANG_BINARY_DIR@"
@@ -15,7 +14,6 @@ config.target_triple = "@TARGET_TRIPLE@"
 # parameters. This is used when we can't determine the tool dir at
 # configuration time.
 try:
-    config.llvm_tools_dir = config.llvm_tools_dir % lit_config.params
     config.llvm_libs_dir = config.llvm_libs_dir % lit_config.params
     config.llvm_build_mode = config.llvm_build_mode % lit_config.params
 except KeyError:





More information about the cfe-commits mailing list