aboutsummaryrefslogtreecommitdiffstats
path: root/test/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile.in')
-rw-r--r--test/Makefile.in16
1 files changed, 15 insertions, 1 deletions
diff --git a/test/Makefile.in b/test/Makefile.in
index 8df786d2..5731487f 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -324,6 +324,7 @@ EXTRA_DIST = \
arrayref.ok \
arraysort.awk \
arraysort.ok \
+ arrdbg.awk \
arrymem1.awk \
arrymem1.ok \
arryref2.awk \
@@ -1480,6 +1481,7 @@ GAWK_EXT_TESTS = \
timeout \
watchpoint1
+ARRAYDEBUG_TESTS = arrdbg
EXTRA_TESTS = inftest regtest ignrcas3
INET_TESTS = inetdayu inetdayt inetechu inetecht
MACHINE_TESTS = double1 double2 fmtspcl intformat
@@ -1733,7 +1735,7 @@ check: msg \
printlang \
basic-msg-start basic basic-msg-end \
unix-msg-start unix-tests unix-msg-end \
- extend-msg-start gawk-extensions extend-msg-end \
+ extend-msg-start gawk-extensions arraydebug-tests extend-msg-end \
machine-msg-start machine-tests machine-msg-end \
charset-tests-all \
shlib-msg-start shlib-tests shlib-msg-end \
@@ -1775,6 +1777,12 @@ mpfr-tests:
else $(MAKE) $(MPFR_TESTS) ; \
fi
+arraydebug-tests:
+ @if echo $(CFLAGS) | grep ARRAYDEBUG > /dev/null ; then \
+ $(MAKE) $(ARRAYDEBUG_TESTS) ; \
+ else echo gawk is not compiled to support the array debug tests ; \
+ fi
+
shlib-tests:
@if $(AWK) --version | $(AWK) ' /API/ { exit 1 }' ; then \
echo shlib tests not supported on this system ; \
@@ -2775,6 +2783,11 @@ ignrcas3::
AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ ; \
$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ ; \
fi
+
+arrdbg:
+ @echo $@
+ @$(AWK) -v "okfile=$(srcdir)/$@.ok" -f "$(srcdir)"/$@.awk | grep array_f >_$@
+ @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ "$(srcdir)"/$@.ok
Gt-dummy:
# file Maketests, generated from Makefile.am by the Gentests program
addcomma:
@@ -4389,6 +4402,7 @@ time:
@-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
# end of file Maketests
+# @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ "$(srcdir)"/$@.ok || exit 0
# Targets generated for other tests: