aboutsummaryrefslogtreecommitdiffstats
path: root/test/Makefile.in
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2022-02-09 07:42:21 +0200
committerArnold D. Robbins <arnold@skeeve.com>2022-02-09 07:42:21 +0200
commit0b3ed07e26af46524ec196b6a46edde4f7d9e287 (patch)
treea49e743de3010bfc019c969ea00401a968009402 /test/Makefile.in
parent401405f5a38dc4214d24c5390cd35d71e82405ed (diff)
parent8785cde2cb5e54790cc395cab1a35b1a685ee8c0 (diff)
downloadegawk-0b3ed07e26af46524ec196b6a46edde4f7d9e287.tar.gz
egawk-0b3ed07e26af46524ec196b6a46edde4f7d9e287.tar.bz2
egawk-0b3ed07e26af46524ec196b6a46edde4f7d9e287.zip
Merge branch 'master' into feature/readall
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 cb4551e2..380a7d90 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 \
@@ -1721,6 +1723,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 \
@@ -2952,6 +2955,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: