From 8c9e2dfeee4cb900e071bd50c59e1c1bdc468451 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 13 Apr 2022 23:59:38 -0700 Subject: tests: switch to egawk and update generated rules. * gawk: New symbolic link to egawk, for tests. * test/Makefile.in (let1, let2, let3, let4, let5, let6): update these rules from Maketests. * test/Maketests: Regenerated. * test/badargs.ok: Updated with new usage text. --- gawk | 1 + test/Makefile.in | 30 ++++++++++++++++++++++++++++++ test/Maketests | 4 ++-- test/badargs.ok | 13 ++++++------- 4 files changed, 39 insertions(+), 9 deletions(-) create mode 120000 gawk diff --git a/gawk b/gawk new file mode 120000 index 00000000..7cdcc289 --- /dev/null +++ b/gawk @@ -0,0 +1 @@ +egawk \ No newline at end of file diff --git a/test/Makefile.in b/test/Makefile.in index 87921f1b..01d9f642 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -3518,6 +3518,36 @@ litoct: @-AWKPATH="$(srcdir)" $(AWK) -f $@.awk --traditional < "$(srcdir)"/$@.in >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ +let1: + @echo $@ + @-AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ + @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ + +let2: + @echo $@ + @-AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ + @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ + +let3: + @echo $@ + @-AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ + @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ + +let4: + @echo $@ + @-AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ + @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ + +let5: + @echo $@ + @-AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ + @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ + +let6: + @echo $@ + @-AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ + @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ + longsub: @echo $@ @-AWKPATH="$(srcdir)" $(AWK) -f $@.awk < "$(srcdir)"/$@.in >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ diff --git a/test/Maketests b/test/Maketests index 8d698604..e0d7e18d 100644 --- a/test/Maketests +++ b/test/Maketests @@ -550,12 +550,12 @@ litoct: let1: @echo $@ - @-AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ + @-AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ let2: @echo $@ - @-AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ + @-AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@ @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ let3: diff --git a/test/badargs.ok b/test/badargs.ok index ea022461..44e0b74b 100644 --- a/test/badargs.ok +++ b/test/badargs.ok @@ -32,13 +32,12 @@ Short options: GNU long options: (extensions) -t --lint-old -V --version -To report bugs, use the `gawkbug' program. -For full instructions, see the node `Bugs' in `gawk.info' -which is section `Reporting Problems and Bugs' in the -printed version. This same information may be found at -https://www.gnu.org/software/gawk/manual/html_node/Bugs.html. -PLEASE do NOT try to report bugs by posting in comp.lang.awk, -or by using a web forum such as Stack Overflow. +To report bugs in Enhanced Gawk, send e-mail to +Kaz Kylheku . +PLEASE do NOT try to report bugs or seek support in the original +bug-gawk mailing list, unless you can reproduce the issue with the +unmodified gawk program. Also do not report bugs in the comp.lang.awk +Usenet newsgroup, or in web forum such as Stack Overflow. gawk is a pattern scanning and processing language. By default it reads standard input and writes standard output. -- cgit v1.2.3