[llvm-commits] CVS: llvm/test/Programs/TEST.nightly.Makefile
Chris Lattner
lattner at cs.uiuc.edu
Mon Jun 23 17:37:01 PDT 2003
Changes in directory llvm/test/Programs:
TEST.nightly.Makefile updated: 1.15 -> 1.16
---
Log message:
Prevent crafty from stopping the nightly tester!
---
Diffs of the changes:
Index: llvm/test/Programs/TEST.nightly.Makefile
diff -u llvm/test/Programs/TEST.nightly.Makefile:1.15 llvm/test/Programs/TEST.nightly.Makefile:1.16
--- llvm/test/Programs/TEST.nightly.Makefile:1.15 Sat Jun 21 21:38:29 2003
+++ llvm/test/Programs/TEST.nightly.Makefile Mon Jun 23 17:36:09 2003
@@ -21,8 +21,9 @@
# Compilation tests
$(PROGRAMS_TO_TEST:%=Output/%.nightly.compile.report.txt): \
Output/%.nightly.compile.report.txt: Output/%.llvm.bc $(LGCCAS)
- @echo '$(LGCCAS) Output/$*.linked.rll -o /dev/null $(TIMEOPT) > $@ 2>&1'
- @if ($(LGCCAS) Output/$*.linked.rll -o /dev/null $(TIMEOPT) > $@ 2>&1)\
+ @echo > $@
+ @echo '$(LGCCAS) Output/$*.linked.rll -o/dev/null $(TIMEOPT) >> $@ 2>&1'
+ @if ($(LGCCAS) Output/$*.linked.rll -o /dev/null $(TIMEOPT) >> $@ 2>&1)\
;then \
echo "TEST-PASS: compile $(RELDIR)/$*" >> $@;\
echo -n "TEST-RESULT-compile: " >> $@;\
@@ -42,14 +43,16 @@
# NAT tests
$(PROGRAMS_TO_TEST:%=Output/%.nightly.nat.report.txt): \
Output/%.nightly.nat.report.txt: Output/%.out-nat
+ @echo > $@
echo -n "TEST-RESULT-nat-time: " >> $@
-grep "^real" Output/$*.out-nat.time >> $@
# LLC tests
$(PROGRAMS_TO_TEST:%=Output/%.nightly.llc.report.txt): \
Output/%.nightly.llc.report.txt: Output/%.llvm.bc $(LLC)
+ @echo > $@
@echo 'time -p $(LLC) -f $(TIMEOPT) $< -o /dev/null) > $@ 2>&1'
- @if (time -p $(LLC) -f $(TIMEOPT) $< -o /dev/null) > $@ 2>&1; then \
+ @if (time -p $(LLC) -f $(TIMEOPT) $< -o /dev/null) >> $@ 2>&1; then \
echo "TEST-PASS: llc $(RELDIR)/$*" >> $@;\
echo -n "TEST-RESULT-llc: " >> $@;\
grep "Total Execution Time" $@.info >> $@;\
@@ -65,7 +68,8 @@
# CBE tests
$(PROGRAMS_TO_TEST:%=Output/%.nightly.cbe.report.txt): \
Output/%.nightly.cbe.report.txt: Output/%.llvm.bc Output/%.exe-cbe $(LDIS)
- -head -n 100 Output/$*.exe-cbe > $@
+ @echo > $@
+ -head -n 100 Output/$*.exe-cbe >> $@
@if test -f Output/$*.exe-cbe; then \
echo "TEST-PASS: cbe $(RELDIR)/$*" >> $@;\
echo "TEST-RESULT-cbe: YES" >> $@;\
@@ -79,7 +83,8 @@
# JIT tests
$(PROGRAMS_TO_TEST:%=Output/%.nightly.jit.report.txt): \
Output/%.nightly.jit.report.txt: Output/%.llvm.bc Output/%.exe-jit $(LLI)
- -head -n 100 Output/$*.exe-jit > $@
+ @echo > $@
+ -head -n 100 Output/$*.exe-jit >> $@
@if test -f Output/$*.exe-jit; then \
echo "TEST-PASS: jit $(RELDIR)/$*" >> $@;\
echo -n "TEST-RESULT-jit-time: " >> $@;\
More information about the llvm-commits
mailing list