X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=test%2Fintegration%2Fcasl2%2Fopt_opterr%2FMakefile;fp=test%2Fintegration%2Fcasl2%2Fopt_opterr%2FMakefile;h=2bff04d6af96ea9630242b7d41edfc594389de4c;hb=8c79c17479ba941bb9cba604143f99137928d52f;hp=87c8b6aabaa38d823269da1cbc79185d83d38569;hpb=205ee1afdbd7eaffa3a12febfaa560c89280e7dd;p=YACASL2.git diff --git a/test/integration/casl2/opt_opterr/Makefile b/test/integration/casl2/opt_opterr/Makefile index 87c8b6a..2bff04d 100644 --- 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 -SETBYOTHER = 0 +MAINTARGET_OVERRIDE = 1 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