[test-suite] r243481 - Revert r243400.

Adam Nemet anemet at apple.com
Tue Jul 28 14:04:43 PDT 2015


Author: anemet
Date: Tue Jul 28 16:04:43 2015
New Revision: 243481

URL: http://llvm.org/viewvc/llvm-project?rev=243481&view=rev
Log:
Revert r243400.

It break LNT on Darwin because strip does not support --remove-section.

Modified:
    test-suite/trunk/Makefile.programs
    test-suite/trunk/TEST.simple.Makefile
    test-suite/trunk/TEST.simple.report

Modified: test-suite/trunk/Makefile.programs
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/Makefile.programs?rev=243481&r1=243480&r2=243481&view=diff
==============================================================================
--- test-suite/trunk/Makefile.programs (original)
+++ test-suite/trunk/Makefile.programs Tue Jul 28 16:04:43 2015
@@ -545,12 +545,6 @@ ifdef PROGRAM_OUTPUT_FILTER
 	$(PROGRAM_OUTPUT_FILTER) $@
 endif
 
-$(PROGRAMS_TO_TEST:%=Output/%.simple-hash): \
-Output/%.simple-hash: Output/%.simple
-	cp $< $@; \
-	strip --remove-section=.comment --remove-section='.note*' $@; \
-	$(PROGDIR)/HashProgramOutput.sh $@
-
 $(PROGRAMS_TO_TEST:%=Output/%.out-lli): \
 Output/%.out-lli: Output/%.llvm.bc $(LLI)
 	$(RUNSAFELY) $(STDIN_FILENAME) $@ $(LLI) -info-output-file=$(CURDIR)/$@.info $(STATS) $(LLI_OPTS) $< $(RUN_OPTIONS)

Modified: test-suite/trunk/TEST.simple.Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/TEST.simple.Makefile?rev=243481&r1=243480&r2=243481&view=diff
==============================================================================
--- test-suite/trunk/TEST.simple.Makefile (original)
+++ test-suite/trunk/TEST.simple.Makefile Tue Jul 28 16:04:43 2015
@@ -19,12 +19,11 @@ REPORTS_SUFFIX := $(addsuffix .report.tx
 #	-grep "^program" Output/$*.simple.compile.time >> $@
 
 $(PROGRAMS_TO_TEST:%=Output/%.simple.compile.report.txt): \
-Output/%.simple.compile.report.txt: Output/%.out-simple Output/%.simple-hash
+Output/%.simple.compile.report.txt: Output/%.out-simple
 	@echo > $@
 	@-if test -f Output/$*.simple; then \
 	  echo "TEST-PASS: compile $(RELDIR)/$*" >> $@; \
 	  echo "TEST-RESULT-compile-success: pass" >> $@;\
-	  echo "TEST-RESULT-compile-hash: `cat Output/$*.simple-hash`" >> $@;\
 	else \
 	  echo "TEST-FAIL: compile $(RELDIR)/$*" >> $@; \
 	fi

Modified: test-suite/trunk/TEST.simple.report
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/TEST.simple.report?rev=243481&r1=243480&r2=243481&view=diff
==============================================================================
--- test-suite/trunk/TEST.simple.report (original)
+++ test-suite/trunk/TEST.simple.report Tue Jul 28 16:04:43 2015
@@ -26,7 +26,6 @@ sub FormatTime {
  ["CC"       , 'TEST-RESULT-compile-success: (pass|fail|xfail)'],
  ["CC_Time"  , 'TEST-RESULT-compile-time: user\s*([.0-9m:]+)', \&FormatTime],
  ["CC_Real_Time", 'TEST-RESULT-compile-real-time: real\s*([.0-9m:]+)', \&FormatTime],
- ["CC_Hash",      'TEST-RESULT-compile-hash: (.*)'],
  ["Exec"     , 'TEST-RESULT-exec-success: (pass|fail|xfail)'],
  ["Exec_Time", 'TEST-RESULT-exec-time: user\s*([.0-9m:]+)', \&FormatTime],
  ["Exec_Real_Time", 'TEST-RESULT-exec-real-time: real\s*([.0-9m:]+)', \&FormatTime],





More information about the llvm-commits mailing list