[llvm-commits] CVS: llvm/test/Programs/TEST.nightly.Makefile

Chris Lattner lattner at cs.uiuc.edu
Thu Jun 26 15:27:01 PDT 2003


Changes in directory llvm/test/Programs:

TEST.nightly.Makefile updated: 1.18 -> 1.19

---
Log message:

Count size of llvm.bc file, not gccas output


---
Diffs of the changes:

Index: llvm/test/Programs/TEST.nightly.Makefile
diff -u llvm/test/Programs/TEST.nightly.Makefile:1.18 llvm/test/Programs/TEST.nightly.Makefile:1.19
--- llvm/test/Programs/TEST.nightly.Makefile:1.18	Wed Jun 25 12:29:27 2003
+++ llvm/test/Programs/TEST.nightly.Makefile	Thu Jun 26 15:26:14 2003
@@ -30,10 +30,11 @@
 	  grep "Total Execution Time" $@.info >> $@;\
 	  echo >> $@;\
 	  echo -n "TEST-RESULT-compile: " >> $@;\
-	  grep "Number of bytecode bytes written" $@.info >> $@;\
+	  wc -c $< >> $@;\
 	  echo >> $@;\
+	  $(LANALYZE) -stats -instcount $< -info-output-file=Output/$*.ic;\
 	  echo -n "TEST-RESULT-compile: " >> $@;\
-	  grep 'Number of instructions$$' $@.info >> $@;\
+	  grep 'Number of instructions (of all types)$$' Output/$*.ic >> $@;\
 	  echo >> $@;\
 	else \
 	  echo "TEST-FAIL: compile $(RELDIR)/$*" >> $@;\





More information about the llvm-commits mailing list