projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
テストを、MacやCygwinでも成功するように修正
[YACASL2.git]
/
test
/
integration
/
casl2
/
opt_opterr
/
Makefile
diff --git
a/test/integration/casl2/opt_opterr/Makefile
b/test/integration/casl2/opt_opterr/Makefile
index
8167bdf
..
87c8b6a
100644
(file)
--- a/
test/integration/casl2/opt_opterr/Makefile
+++ b/
test/integration/casl2/opt_opterr/Makefile
@@
-1,6
+1,10
@@
-# 無効な-zオプションで、1から10まで加算する
sum_10
.caslを実行
+# 無効な-zオプションで、1から10まで加算する
opt
.caslを実行
include ../CMD.mk # YACASL2DIR, CASL2
include ../CMD.mk # YACASL2DIR, CASL2
-include ../
sum_10_s/CMD.mk
# ASDIR, ASFILE
+include ../
opt_s/CMD.mk
# ASDIR, ASFILE
CASL2FLAG = -z
CASL2FLAG = -z
+SETBYOTHER = 0
CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
include ../TEST.mk
CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
include ../TEST.mk
+0.txt 1.txt: $(CASL2) $(ASFILE)
+ @$(CMD) >>$@ 2>err.txt; \
+ if test -s err.txt; then tail -1 err.txt >>$@; else rm -f err.txt; fi