aboutsummaryrefslogtreecommitdiffstats
path: root/test/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile.in')
-rw-r--r--test/Makefile.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Makefile.in b/test/Makefile.in
index a755b633..f0e2894a 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -835,6 +835,8 @@ EXTRA_DIST = \
include.ok \
indirectbuiltin.awk \
indirectbuiltin.ok \
+ indirectbuiltin2.awk \
+ indirectbuiltin2.ok \
indirectcall2.awk \
indirectcall2.ok \
indirectcall.awk \
@@ -1718,6 +1720,7 @@ GAWK_EXT_TESTS = \
icasefs icasers id igncdym igncfs ignrcas2 ignrcas4 ignrcase \
incdupe incdupe2 incdupe3 incdupe4 incdupe5 incdupe6 incdupe7 \
include include2 indirectbuiltin indirectcall indirectcall2 \
+ indirectbuiltin2 \
inf-nan-torture intarray iolint isarrayunset lint lintexp \
lintindex lintint lintlength lintold lintplus lintset lintwarn \
manyfiles match1 match2 match3 mbstr1 mbstr2 mixed1 mktime \
@@ -2940,6 +2943,13 @@ argcasfile:
@echo $@
@-$(AWK) -f "$(srcdir)"/$@.awk ARGC=1 ' /no/such/file' < "$(srcdir)/$@.in" >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
+
+indirectbuiltin2:
+ @echo $@
+ @-for test in 0 1 2 3 4 5 ; do \
+ $(AWK) -v test=$$test -f "$(srcdir)"/$@.awk ; \
+ done > _$@ 2>&1 || exit 0
+ @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
Gt-dummy:
# file Maketests, generated from Makefile.am by the Gentests program
addcomma: