diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2018-07-13 13:56:10 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2018-07-13 13:56:10 +0300 |
commit | 8dba5f4c900239d01897e2197ddd79bcf5d9b034 (patch) | |
tree | ef1ede8e0f191df3b41df219f4a98fbbe3b0d9d2 /test/Makefile.in | |
parent | 18ff7b4b066fdd606a66e90b1f3b489840e09560 (diff) | |
download | egawk-8dba5f4c900239d01897e2197ddd79bcf5d9b034.tar.gz egawk-8dba5f4c900239d01897e2197ddd79bcf5d9b034.tar.bz2 egawk-8dba5f4c900239d01897e2197ddd79bcf5d9b034.zip |
Output +inf, +nan etc. also, so that output can be input. Doc, tests, fixed.
Diffstat (limited to 'test/Makefile.in')
-rw-r--r-- | test/Makefile.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/Makefile.in b/test/Makefile.in index b987b1c2..5b34a5ad 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -536,6 +536,7 @@ EXTRA_DIST = \ fieldwdth.ok \ filefuncs.awk \ filefuncs.ok \ + fix-fmtspcl.awk \ fldchg.awk \ fldchg.in \ fldchg.ok \ @@ -2132,8 +2133,8 @@ nors:: @echo A B C D E | tr -d '\12\15' | $(AWK) '{ print $$NF }' - "$(srcdir)"/nors.in > _$@ || echo EXIT CODE: $$? >> _$@ @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ -fmtspcl.ok: fmtspcl.tok Makefile - @$(AWK) -v "sd=$(srcdir)" 'BEGIN {pnan = sprintf("%g",sqrt(-1)); nnan = sprintf("%g",-sqrt(-1)); pinf = sprintf("%g",-log(0)); ninf = sprintf("%g",log(0))} {sub(/positive_nan/,pnan); sub(/negative_nan/,nnan); sub(/positive_infinity/,pinf); sub(/negative_infinity/,ninf); sub(/fmtspcl/,(sd"/fmtspcl")); print}' < "$(srcdir)"/fmtspcl.tok > $@ 2>/dev/null +fmtspcl.ok: fmtspcl.tok Makefile fix-fmtspcl.awk + @$(AWK) -v "sd=$(srcdir)" -f "$(srcdir)/fix-fmtspcl.awk" < "$(srcdir)"/fmtspcl.tok > $@ 2>/dev/null fmtspcl: fmtspcl.ok @echo $@ |