diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2020-07-12 21:01:42 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2020-07-12 21:01:42 +0300 |
commit | fd2253758d5ebe924828026057c113fb5bfca19a (patch) | |
tree | 9269679cf225eb7d30562c445419de43bb2a5c30 /pc | |
parent | 4687b886c1181e9e9a0c27bb95714c4a414a7a78 (diff) | |
download | egawk-fd2253758d5ebe924828026057c113fb5bfca19a.tar.gz egawk-fd2253758d5ebe924828026057c113fb5bfca19a.tar.bz2 egawk-fd2253758d5ebe924828026057c113fb5bfca19a.zip |
Test makefiles updated.
Diffstat (limited to 'pc')
-rw-r--r-- | pc/Makefile.tst | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pc/Makefile.tst b/pc/Makefile.tst index 6a1d917a..1bffa78b 100644 --- a/pc/Makefile.tst +++ b/pc/Makefile.tst @@ -296,7 +296,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 @@ -1034,7 +1034,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 $@ @@ -1176,7 +1178,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 |