projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
オペランドに文字定数が指定された場合の動作を修正
[YACASL2.git]
/
test
/
integration
/
comet2
/
Makefile
diff --git
a/test/integration/comet2/Makefile
b/test/integration/comet2/Makefile
index
b1dd3b0
..
e7e747d
100644
(file)
--- a/
test/integration/comet2/Makefile
+++ b/
test/integration/comet2/Makefile
@@
-7,7
+7,7
@@
# make prepare : すべてのテストの、想定結果を出力
# make create : UNITNAMEで指定されたテストを新規に作成
TESTS = `ls | grep "^[^A-Z].*"`
# make prepare : すべてのテストの、想定結果を出力
# make create : UNITNAMEで指定されたテストを新規に作成
TESTS = `ls | grep "^[^A-Z].*"`
-LOGFILE = T
EST
.log
+LOGFILE = T
est
.log
.PHONY: all check report clean cleanall prepare create
all: check report
.PHONY: all check report clean cleanall prepare create
all: check report
@@
-18,7
+18,7
@@
check:
done
$(LOGFILE):
@for target in $(TESTS); do \
done
$(LOGFILE):
@for target in $(TESTS); do \
-
cat <$$target/report.txt >>$(LOGFILE) 2>/dev/null || echo "Failure:" $$target "no report" >>$(LOGFILE)
; \
+
if test -s $^; then cat <$$target/report.txt >>$(LOGFILE); else echo "Failure:" $$target "no report" >>$(LOGFILE); fi
; \
done
report: $(LOGFILE)
@success=`grep "Success" $(LOGFILE) | wc -l`; \
done
report: $(LOGFILE)
@success=`grep "Success" $(LOGFILE) | wc -l`; \
@@
-63,7
+63,7
@@
endif
ifdef INFILE
@echo 'IN = <$(INFILE)' >>$(UNITNAME)/Makefile
endif
ifdef INFILE
@echo 'IN = <$(INFILE)' >>$(UNITNAME)/Makefile
endif
- @echo 'CMD = $$(COMET2) $$(COMET2FLAG) $$(
UNITNAME).o $$(IN
)' >>$(UNITNAME)/Makefile; \
+ @echo 'CMD = $$(COMET2) $$(COMET2FLAG) $$(
OBJFILE
)' >>$(UNITNAME)/Makefile; \
echo 'include ../TEST.mk' >>$(UNITNAME)/Makefile
else
@echo "no test created. set UNITNAME"
echo 'include ../TEST.mk' >>$(UNITNAME)/Makefile
else
@echo "no test created. set UNITNAME"