diff options
Diffstat (limited to 'test/Makefile.in')
-rw-r--r-- | test/Makefile.in | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/test/Makefile.in b/test/Makefile.in index 5a6215db..3781bb25 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -344,7 +344,6 @@ EXTRA_DIST = \ arraytype.ok \ arraytype-mpfr.ok \ arrdbg.awk \ - arrdbg-mpfr.ok \ arrymem1.awk \ arrymem1.ok \ arryref2.awk \ @@ -1526,6 +1525,7 @@ EXTRA_DIST = \ tailrecurse.awk \ tailrecurse.ok \ testext.ok \ + testext-mpfr.ok \ time.awk \ time.ok \ timeout.awk \ @@ -1773,7 +1773,7 @@ FAIL_CODE1 = \ # List of files which have .ok versions for MPFR CHECK_MPFR = \ - arraytype arrdbg fnarydel fnparydl forcenum numrange rand + arraytype fnarydel fnparydl forcenum numrange rand # Lists of tests that need particular locales @@ -2703,7 +2703,9 @@ testext:: @echo $@ @$(AWK) ' /^(@load|BEGIN)/,/^}/' "$(top_srcdir)"/extension/testext.c > testext.awk @$(AWK) -f ./testext.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ - @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ testext.awk testexttmp.txt + @-if test -z "$$AWKFLAGS" ; then $(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ testext.awk testexttmp.txt; else \ + $(CMP) "$(srcdir)"/$@-mpfr.ok _$@ && rm -f _$@ testext.awk testexttmp.txt ; \ + fi getfile: @echo $@ @@ -2838,7 +2840,7 @@ ignrcas3:: arrdbg: @echo $@ - @$(AWK) -v "okfile=./$@.ok" -f "$(srcdir)"/$@.awk | grep array_f >_$@ || echo EXIT CODE: $$? >> _$@ + @$(AWK) -v "okfile=./$@.ok" -v "mpfr_okfile=./$@-mpfr.ok" -f "$(srcdir)"/$@.awk | grep array_f >_$@ || echo EXIT CODE: $$? >> _$@ @-if test -z "$$AWKFLAGS" ; then $(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ ; else \ $(CMP) "$(srcdir)"/$@-mpfr.ok _$@ && rm -f _$@ ; \ fi |