~vcs-imports/gawk/master

« back to all changes in this revision

Viewing changes to test/Makefile.am

  • Committer: Arnold D. Robbins
  • Date: 2012-02-28 18:57:46 UTC
  • Revision ID: git-v1:2b8a8424212839cd30490e4245c0c5119904eca3
Make MPRF tests pass too.

Show diffs side-by-side

added added

removed removed

Lines of Context:
209
209
        fldchgnf.ok \
210
210
        fmtspcl.awk \
211
211
        fmtspcl.tok \
 
212
        fmtspcl-mpfr.ok \
212
213
        fmttest.awk \
213
214
        fmttest.ok \
214
215
        fnamedat.awk \
221
222
        fnarray2.ok \
222
223
        fnarydel.awk \
223
224
        fnarydel.ok \
 
225
        fnarydel-mpfr.ok \
224
226
        fnaryscl.awk \
225
227
        fnaryscl.ok \
226
228
        fnasgnm.awk \
230
232
        fnmisc.ok \
231
233
        fnparydl.awk \
232
234
        fnparydl.ok \
 
235
        fnparydl-mpfr.ok \
233
236
        fpat1.awk \
234
237
        fpat1.in \
235
238
        fpat1.ok \
590
593
        pty1.ok \
591
594
        rand.awk \
592
595
        rand.ok \
 
596
        rand-mpfr.ok \
593
597
        range1.awk \
594
598
        range1.in \
595
599
        range1.ok \
858
862
FAIL_CODE1 = \
859
863
        fnarray2 fnmisc gsubasgn mixed1 noparms paramdup synerr1 synerr2 unterm
860
864
 
 
865
# List of files which have .ok versions for MPFR
 
866
CHECK_MPFR = \
 
867
        rand fnarydel fnparydl
 
868
 
861
869
# List of the files that appear in manual tests or are for reserve testing:
862
870
GENTESTS_UNUSED = Makefile.in gtlnbufv.awk printfloat.awk
863
871
 
1098
1106
        @$(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
1099
1107
 
1100
1108
fmtspcl: fmtspcl.ok
1101
 
        @echo fmtspcl
 
1109
        @echo $@
1102
1110
        @$(AWK) -f $(srcdir)/fmtspcl.awk  --lint >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
1103
 
        @-$(CMP) $@.ok _$@ && rm -f _$@
 
1111
        @-($(CMP) $(srcdir)/$@.ok _$@ || $(CMP) $(srcdir)/$@-mpfr.ok _$@) && rm -f _$@
1104
1112
 
1105
1113
reint::
1106
1114
        @echo $@