[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gawk-diffs] [SCM] gawk branch, gawk-5.0-stable, updated. gawk-4.1.0-371
From: |
Andrew J. Schorr |
Subject: |
[gawk-diffs] [SCM] gawk branch, gawk-5.0-stable, updated. gawk-4.1.0-3717-g9347fde |
Date: |
Mon, 22 Apr 2019 16:09:26 -0400 (EDT) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".
The branch, gawk-5.0-stable has been updated
via 9347fde4a80b9dc31d2ddfacb14630be5f23287c (commit)
from 27d44843c0963a91bd25cd462a05b96339ea16de (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=9347fde4a80b9dc31d2ddfacb14630be5f23287c
commit 9347fde4a80b9dc31d2ddfacb14630be5f23287c
Author: Andrew J. Schorr <address@hidden>
Date: Mon Apr 22 16:09:09 2019 -0400
Add another numeric field assignment test.
diff --git a/test/ChangeLog b/test/ChangeLog
index 726ac26..e5b9dce 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,8 @@
+2019-02-22 Andrew J. Schorr <address@hidden>
+
+ * Makefile.am (EXTRA_DIST): New test assignnumfield2.
+ * assignnumfield2.awk, assignnumfield2.ok: New files.
+
2019-04-21 Arnold D. Robbins <address@hidden>
* Makefile.am (EXTRA_DIST): New test: fscaret.
diff --git a/test/Makefile.am b/test/Makefile.am
index 1ca9ba0..4a5ab2d 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -127,6 +127,8 @@ EXTRA_DIST = \
assignnumfield.awk \
assignnumfield.in \
assignnumfield.ok \
+ assignnumfield2.awk \
+ assignnumfield2.ok \
awkpath.ok \
back89.awk \
back89.in \
@@ -1285,7 +1287,8 @@ BASIC_TESTS = \
addcomma anchgsub anchor argarray arrayind1 arrayind2 arrayind3
arrayparm \
arrayprm2 arrayprm3 arrayref arrymem1 arryref2 arryref3 arryref4
arryref5 \
arynasty arynocls aryprm1 aryprm2 aryprm3 aryprm4 aryprm5 aryprm6
aryprm7 \
- aryprm8 aryprm9 arysubnm aryunasgn asgext awkpath assignnumfield \
+ aryprm8 aryprm9 arysubnm aryunasgn asgext awkpath \
+ assignnumfield assignnumfield2 \
back89 backgsub badassign1 badbuild \
callparam childin clobber closebad clsflnam compare compare2 \
concat1 concat2 concat3 concat4 concat5 convfmt \
diff --git a/test/Makefile.in b/test/Makefile.in
index 5eb79ab..bd261a5 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -386,6 +386,8 @@ EXTRA_DIST = \
assignnumfield.awk \
assignnumfield.in \
assignnumfield.ok \
+ assignnumfield2.awk \
+ assignnumfield2.ok \
awkpath.ok \
back89.awk \
back89.in \
@@ -1544,7 +1546,8 @@ BASIC_TESTS = \
addcomma anchgsub anchor argarray arrayind1 arrayind2 arrayind3
arrayparm \
arrayprm2 arrayprm3 arrayref arrymem1 arryref2 arryref3 arryref4
arryref5 \
arynasty arynocls aryprm1 aryprm2 aryprm3 aryprm4 aryprm5 aryprm6
aryprm7 \
- aryprm8 aryprm9 arysubnm aryunasgn asgext awkpath assignnumfield \
+ aryprm8 aryprm9 arysubnm aryunasgn asgext awkpath \
+ assignnumfield assignnumfield2 \
back89 backgsub badassign1 badbuild \
callparam childin clobber closebad clsflnam compare compare2 \
concat1 concat2 concat3 concat4 concat5 convfmt \
@@ -2887,6 +2890,11 @@ assignnumfield:
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+assignnumfield2:
+ @echo $@
+ @AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
back89:
@echo $@
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
diff --git a/test/Maketests b/test/Maketests
index 1de780e..ccce4f5 100644
--- a/test/Maketests
+++ b/test/Maketests
@@ -145,6 +145,11 @@ assignnumfield:
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+assignnumfield2:
+ @echo $@
+ @AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
+ @-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
+
back89:
@echo $@
@AWKPATH="$(srcdir)" $(AWK) -f address@hidden <
"$(srcdir)"/address@hidden >_$@ 2>&1 || echo EXIT CODE: $$? >>_$@
diff --git a/test/assignnumfield2.awk b/test/assignnumfield2.awk
new file mode 100644
index 0000000..48b42db
--- /dev/null
+++ b/test/assignnumfield2.awk
@@ -0,0 +1,4 @@
+BEGIN {
+ $0 = 1
+ print $1
+}
diff --git a/test/assignnumfield2.ok b/test/assignnumfield2.ok
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/test/assignnumfield2.ok
@@ -0,0 +1 @@
+1
-----------------------------------------------------------------------
Summary of changes:
test/ChangeLog | 5 +++++
test/Makefile.am | 5 ++++-
test/Makefile.in | 10 +++++++++-
test/Maketests | 5 +++++
test/assignnumfield2.awk | 4 ++++
test/{arrayprm3.ok => assignnumfield2.ok} | 0
6 files changed, 27 insertions(+), 2 deletions(-)
create mode 100644 test/assignnumfield2.awk
copy test/{arrayprm3.ok => assignnumfield2.ok} (100%)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gawk-diffs] [SCM] gawk branch, gawk-5.0-stable, updated. gawk-4.1.0-3717-g9347fde,
Andrew J. Schorr <=