X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=test%2Fintegration%2Fcasl2%2Fopt_opterr%2FMakefile;h=5d0a565ada7f73cc9e96a7ef7f54d3288083929e;hp=76a17fb313711c0cc39741c053175de1fc30cc2f;hb=44a394823a565d947fb8fddbebf420aff180dc7c;hpb=df686f409d06eaac1e8909cbe453f256d56ae14f diff --git a/test/integration/casl2/opt_opterr/Makefile b/test/integration/casl2/opt_opterr/Makefile index 76a17fb..5d0a565 100644 --- a/test/integration/casl2/opt_opterr/Makefile +++ b/test/integration/casl2/opt_opterr/Makefile @@ -4,3 +4,5 @@ include ../opt_s/CMD.mk # ASDIR, ASFILE CASL2FLAG = -z CMD = $(CASL2) $(CASL2FLAG) $(ASFILE) include ../TEST.mk +0.txt 1.txt:: $(CASL2) $(ASFILE) + @if test -s $(ERRFILE); then tail -1 err.txt >$@; else rm -f $(ERRFILE); fi