aboutsummaryrefslogtreecommitdiffstats
path: root/pc/Makefile.tst
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2022-02-09 07:39:36 +0200
committerArnold D. Robbins <arnold@skeeve.com>2022-02-09 07:39:36 +0200
commit8785cde2cb5e54790cc395cab1a35b1a685ee8c0 (patch)
tree2245cdacf79ddba6cec5ddd220b1e907a85c93d4 /pc/Makefile.tst
parent18213a779d239baf5e24ba52d77ba920f314ab7e (diff)
parent0b94b68387b85310b7104bb669d7b698e92888d2 (diff)
downloadegawk-8785cde2cb5e54790cc395cab1a35b1a685ee8c0.tar.gz
egawk-8785cde2cb5e54790cc395cab1a35b1a685ee8c0.tar.bz2
egawk-8785cde2cb5e54790cc395cab1a35b1a685ee8c0.zip
Merge branch 'gawk-5.1-stable'
Diffstat (limited to 'pc/Makefile.tst')
-rw-r--r--pc/Makefile.tst8
1 files changed, 8 insertions, 0 deletions
diff --git a/pc/Makefile.tst b/pc/Makefile.tst
index f9980b53..68e22751 100644
--- a/pc/Makefile.tst
+++ b/pc/Makefile.tst
@@ -197,6 +197,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 \
@@ -1236,6 +1237,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: