From 1b79c13f8aa4c93ea727b1d42b30f3838faeaedf Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Wed, 6 May 2020 20:55:07 +0300 Subject: Add lint check for string + string. --- test/Makefile.in | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'test/Makefile.in') diff --git a/test/Makefile.in b/test/Makefile.in index 67051084..f5f8e05a 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -886,6 +886,8 @@ EXTRA_DIST = \ lintold.awk \ lintold.in \ lintold.ok \ + lintplus.awk \ + lintplus.ok \ lintset.awk \ lintset.ok \ lintwarn.awk \ @@ -1657,7 +1659,7 @@ GAWK_EXT_TESTS = \ icasefs icasers id igncdym igncfs ignrcas2 ignrcas4 ignrcase incdupe \ incdupe2 incdupe3 incdupe4 incdupe5 incdupe6 incdupe7 include include2 \ indirectbuiltin indirectcall indirectcall2 intarray isarrayunset \ - lint lintexp lintindex lintint lintlength lintold lintset lintwarn \ + lint lintexp lintindex lintint lintlength lintplus lintold lintset lintwarn \ manyfiles match1 match2 match3 mbstr1 mbstr2 mixed1 mktime muldimposix \ nastyparm negtime next nondec nondec2 nonfatal1 nonfatal2 nonfatal3 \ nsawk1a nsawk1b nsawk1c nsawk2a nsawk2b \ @@ -1704,7 +1706,7 @@ NEED_DEBUG = dbugtypedre1 dbugtypedre2 dbugeval2 dbugeval3 symtab10 # List of the tests which should be run with --lint option: NEED_LINT = \ - defref fmtspcl lintexp lintindex lintint lintlength lintwarn \ + defref fmtspcl lintexp lintindex lintint lintlength lintplus lintwarn \ noeffect nofmtch nonl shadow uninit2 uninit3 uninit4 uninit5 uninitialized @@ -4503,6 +4505,11 @@ lintlength: @AWKPATH="$(srcdir)" $(AWK) -f $@.awk --lint >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ +lintplus: + @echo $@ + @AWKPATH="$(srcdir)" $(AWK) -f $@.awk --lint >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ + @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ + lintold: @echo $@ @AWKPATH="$(srcdir)" $(AWK) -f $@.awk --lint-old < "$(srcdir)"/$@.in >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ -- cgit v1.2.3