aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2020-07-12 21:01:42 +0300
committerArnold D. Robbins <arnold@skeeve.com>2020-07-12 21:01:42 +0300
commitfd2253758d5ebe924828026057c113fb5bfca19a (patch)
tree9269679cf225eb7d30562c445419de43bb2a5c30
parent4687b886c1181e9e9a0c27bb95714c4a414a7a78 (diff)
downloadegawk-fd2253758d5ebe924828026057c113fb5bfca19a.tar.gz
egawk-fd2253758d5ebe924828026057c113fb5bfca19a.tar.bz2
egawk-fd2253758d5ebe924828026057c113fb5bfca19a.zip
Test makefiles updated.
-rw-r--r--pc/Makefile.tst8
-rw-r--r--test/Makefile.in4
2 files changed, 7 insertions, 5 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
diff --git a/test/Makefile.in b/test/Makefile.in
index 3781bb25..6d0637b6 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -2841,8 +2841,8 @@ ignrcas3::
arrdbg:
@echo $@
@$(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 _$@ ; \
+ @-if test -z "$$AWKFLAGS" ; then $(CMP) ./$@.ok _$@ && rm -f _$@ ./$@.ok ./$@-mpfr.ok ; else \
+ $(CMP) ./$@-mpfr.ok _$@ && rm -f _$@ ./$@.ok ./$@-mpfr.ok ; \
fi
sourcesplit: