[llvm-commits] [test-suite] r157657 - /test-suite/trunk/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile

Evan Cheng evan.cheng at apple.com
Tue May 29 17:33:28 PDT 2012


Author: evancheng
Date: Tue May 29 19:33:28 2012
New Revision: 157657

URL: http://llvm.org/viewvc/llvm-project?rev=157657&view=rev
Log:
Fix test when PROJ_SRC_DIR == PROJ_OBJ_DIR.

Modified:
    test-suite/trunk/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile

Modified: test-suite/trunk/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile?rev=157657&r1=157656&r2=157657&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile (original)
+++ test-suite/trunk/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile Tue May 29 19:33:28 2012
@@ -18,5 +18,8 @@
 include $(LEVEL)/MultiSource/Makefile.multisrc
 
 copy-input-file:
-	cp $(PROJ_SRC_DIR)/$(INPUT_FILE) $(PROJ_OBJ_DIR)/$(INPUT_FILE)
+	if [ ! $(PROJ_SRC_DIR) = $(PROJ_OBJ_DIR) ]; \
+	then \
+	  cp  $(PROJ_SRC_DIR)/$(INPUT_FILE) $(PROJ_OBJ_DIR)/$(INPUT_FILE); \
+	fi
 .PHONY: copy-input-files





More information about the llvm-commits mailing list