projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
テストを、Mac OS X Snow Leopardでも正常にできるよう修正
[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
87c8b6a
..
2bff04d
100644
(file)
--- a/
test/integration/casl2/opt_opterr/Makefile
+++ b/
test/integration/casl2/opt_opterr/Makefile
@@
-2,9
+2,9
@@
include ../CMD.mk # YACASL2DIR, CASL2
include ../opt_s/CMD.mk # ASDIR, ASFILE
CASL2FLAG = -z
include ../CMD.mk # YACASL2DIR, CASL2
include ../opt_s/CMD.mk # ASDIR, ASFILE
CASL2FLAG = -z
-SETBYOTHER = 0
+MAINTARGET_OVERRIDE = 1
CMD = $(CASL2) $(CASL2FLAG) $(ASFILE)
include ../TEST.mk
0.txt 1.txt: $(CASL2) $(ASFILE)
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
+ @$(CMD) >>$@ 2>
$(ERRFILE)
; \
+ if test -s
$(ERRFILE); then tail -1 $(ERRFILE) >>$@; else rm -f $(ERRFILE)
; fi