[test-suite] r180650 - Keep Makefile.spec in sync with Makefile.programs.

Daniel Dunbar daniel at zuster.org
Fri Apr 26 17:07:47 PDT 2013


Author: ddunbar
Date: Fri Apr 26 19:07:47 2013
New Revision: 180650

URL: http://llvm.org/viewvc/llvm-project?rev=180650&view=rev
Log:
Keep Makefile.spec in sync with Makefile.programs.

Modified:
    test-suite/trunk/External/SPEC/Makefile.spec

Modified: test-suite/trunk/External/SPEC/Makefile.spec
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/External/SPEC/Makefile.spec?rev=180650&r1=180649&r2=180650&view=diff
==============================================================================
--- test-suite/trunk/External/SPEC/Makefile.spec (original)
+++ test-suite/trunk/External/SPEC/Makefile.spec Fri Apr 26 19:07:47 2013
@@ -61,8 +61,12 @@ else
 #
 # Note that this rule needs to be in both Makefile.programs and Makefile.spec.
 Output/%.out-nat: Output/.dir
-	-if [ -f "$(PROJ_SRC_DIR)/$*.reference_output.$(REFERENCE_OUTPUT_KEY)" ]; then \
+	-if [ -f "$(PROJ_SRC_DIR)/$*.reference_output.$(ENDIAN)-endian.$(REFERENCE_OUTPUT_KEY)" ]; then \
+	  cp $(PROJ_SRC_DIR)/$*.reference_output.$(ENDIAN)-endian.$(REFERENCE_OUTPUT_KEY) $@; \
+	elif [ -f "$(PROJ_SRC_DIR)/$*.reference_output.$(REFERENCE_OUTPUT_KEY)" ]; then \
 	  cp $(PROJ_SRC_DIR)/$*.reference_output.$(REFERENCE_OUTPUT_KEY) $@; \
+	elif [ -f "$(PROJ_SRC_DIR)/$*.reference_output.$(ENDIAN)-endian" ]; then \
+	  cp $(PROJ_SRC_DIR)/$*.reference_output.$(ENDIAN)-endian $@; \
 	elif [ -f "$(PROJ_SRC_DIR)/$*.reference_output" ]; then \
 	  cp $(PROJ_SRC_DIR)/$*.reference_output $@; \
 	else \





More information about the llvm-commits mailing list