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

Chris Lattner lattner at cs.uiuc.edu
Fri Jun 20 18:33:01 PDT 2003


Changes in directory llvm/test/Programs:

TEST.nightly.Makefile updated: 1.13 -> 1.14

---
Log message:

Add native execution time to the table


---
Diffs of the changes:

Index: llvm/test/Programs/TEST.nightly.Makefile
diff -u llvm/test/Programs/TEST.nightly.Makefile:1.13 llvm/test/Programs/TEST.nightly.Makefile:1.14
--- llvm/test/Programs/TEST.nightly.Makefile:1.13	Mon Jun 16 11:00:45 2003
+++ llvm/test/Programs/TEST.nightly.Makefile	Fri Jun 20 18:31:28 2003
@@ -8,8 +8,9 @@
 CURDIR  := $(shell cd .; pwd)
 PROGDIR := $(shell cd $(LEVEL)/test/Programs; pwd)/
 RELDIR  := $(subst $(PROGDIR),,$(CURDIR))
+CFLAGS  := -O3
 
-REPORTS_TO_GEN := compile llc cbe jit
+REPORTS_TO_GEN := compile nat llc cbe jit
 REPORTS_SUFFIX := $(addsuffix .report.txt, $(REPORTS_TO_GEN))
 
 TIMEOPT = -time-passes -stats -info-output-file=$@.info
@@ -37,6 +38,12 @@
 	  echo "TEST-FAIL: compile $(RELDIR)/$*" >> $@;\
 	fi
 	-rm -f $@.info
+
+# NAT tests
+$(PROGRAMS_TO_TEST:%=Output/%.nightly.nat.report.txt): \
+Output/%.nightly.nat.report.txt: Output/%.out-nat
+	echo -n "TEST-RESULT-nat-time: " >> $@
+	-grep "^real" Output/$*.out-nat.time >> $@
 
 # LLC tests
 $(PROGRAMS_TO_TEST:%=Output/%.nightly.llc.report.txt): \





More information about the llvm-commits mailing list