[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] gawk branch, gawk-5.3-stable, updated. gawk-4.1.0-5482-g6dfab71f
From: |
Arnold Robbins |
Subject: |
[SCM] gawk branch, gawk-5.3-stable, updated. gawk-4.1.0-5482-g6dfab71f |
Date: |
Thu, 13 Jun 2024 10:45:20 -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.3-stable has been updated
via 6dfab71ff7a7158c088a880958d2dd4fc0400c46 (commit)
from 6b237fa6db5a28d6598cb0fb67b9324cf2d88432 (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=6dfab71ff7a7158c088a880958d2dd4fc0400c46
commit 6dfab71ff7a7158c088a880958d2dd4fc0400c46
Author: Arnold D. Robbins <arnold@skeeve.com>
Date: Thu Jun 13 17:43:54 2024 +0300
Fix some tests to work with MPFR.
diff --git a/pc/ChangeLog b/pc/ChangeLog
index 9e63f7f1..3d819829 100644
--- a/pc/ChangeLog
+++ b/pc/ChangeLog
@@ -1,3 +1,7 @@
+2024-06-13 Arnold D. Robbins <arnold@skeeve.com>
+
+ * Makefile.tst: Regenerated.
+
2024-06-08 Arnold D. Robbins <arnold@skeeve.com>
* Makefile.tst: Regenerated.
diff --git a/pc/Makefile.tst b/pc/Makefile.tst
index 982b1bbf..2a15eaa9 100644
--- a/pc/Makefile.tst
+++ b/pc/Makefile.tst
@@ -2715,7 +2715,9 @@ asortbool:
asortsymtab:
@echo $@
@-AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE:
$$? >>_$@
- @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
+ @-if echo "$$GAWK_TEST_ARGS" | egrep -s -e '-M|--bignum' > /dev/null ; \
+ then $(CMP) "$(srcdir)"/$@-mpfr.ok _$@ && rm -f _$@ ; \
+ else $(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ ; fi
backw:
@echo $@
diff --git a/test/ChangeLog b/test/ChangeLog
index 004b5c11..47ac9661 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,9 @@
+2024-06-13 Arnold D. Robbins <arnold@skeeve.com>
+
+ * Makefile.am (EXTRA_DIST): Add asortsymtab-mpfr.ok.
+ * asortsymtab-mpfr.ok: New file.
+ * testext-mpfr.ok: Updated.
+
2024-06-08 Arnold D. Robbins <arnold@skeeve.com>
* Gentests: Change `egrep -q' to `egrep -s' for greater portability.
diff --git a/test/Makefile.am b/test/Makefile.am
index a847c02c..0f1d5178 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -133,6 +133,7 @@ EXTRA_DIST = \
asorti.ok \
asortsymtab.awk \
asortsymtab.ok \
+ asortsymtab-mpfr.ok \
assignnumfield.awk \
assignnumfield.in \
assignnumfield.ok \
diff --git a/test/Makefile.in b/test/Makefile.in
index f6546082..69649f08 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -397,6 +397,7 @@ EXTRA_DIST = \
asorti.ok \
asortsymtab.awk \
asortsymtab.ok \
+ asortsymtab-mpfr.ok \
assignnumfield.awk \
assignnumfield.in \
assignnumfield.ok \
@@ -4530,7 +4531,9 @@ asortbool:
asortsymtab:
@echo $@
@-AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE:
$$? >>_$@
- @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
+ @-if echo "$$GAWK_TEST_ARGS" | egrep -s -e '-M|--bignum' > /dev/null ; \
+ then $(CMP) "$(srcdir)"/$@-mpfr.ok _$@ && rm -f _$@ ; \
+ else $(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ ; fi
backw:
@echo $@
diff --git a/test/Maketests b/test/Maketests
index 57603040..3538d141 100644
--- a/test/Maketests
+++ b/test/Maketests
@@ -1399,7 +1399,9 @@ asortbool:
asortsymtab:
@echo $@
@-AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE:
$$? >>_$@
- @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
+ @-if echo "$$GAWK_TEST_ARGS" | egrep -s -e '-M|--bignum' > /dev/null ; \
+ then $(CMP) "$(srcdir)"/$@-mpfr.ok _$@ && rm -f _$@ ; \
+ else $(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@ ; fi
backw:
@echo $@
diff --git a/test/asortsymtab-mpfr.ok b/test/asortsymtab-mpfr.ok
new file mode 100644
index 00000000..39ccd00d
--- /dev/null
+++ b/test/asortsymtab-mpfr.ok
@@ -0,0 +1,72 @@
+26
+17
+4
+27
+18
+5
+28
+19
+6
+29
+7
+8
+9
+10
+20
+11
+30
+21
+12
+22
+13
+23
+14
+1
+24
+15
+2
+25
+16
+3
+10
+11
+12
+13
+14
+15
+16
+30
+17
+31
+18
+32
+19
+33
+34
+35
+36
+37
+38
+39
+1
+2
+3
+4
+5
+6
+7
+8
+9
+20
+21
+22
+23
+24
+25
+26
+40
+27
+41
+28
+42
+29
diff --git a/test/testext-mpfr.ok b/test/testext-mpfr.ok
index ec584216..6a5f9814 100644
--- a/test/testext-mpfr.ok
+++ b/test/testext-mpfr.ok
@@ -50,6 +50,8 @@ isarray(a_scalar) = 0
test_array_create returned 1
good: we have an array
+hello element value inside function is world
+hello element global scope is world
Initial value of LINT is 0
print_do_lint: lint = 0
print_do_lint() returned 1
-----------------------------------------------------------------------
Summary of changes:
pc/ChangeLog | 4 ++
pc/Makefile.tst | 4 +-
test/ChangeLog | 6 +++
test/Makefile.am | 1 +
test/Makefile.in | 5 +-
test/Maketests | 4 +-
test/{asortsymtab.ok => asortsymtab-mpfr.ok} | 74 ++++++++++++++--------------
test/testext-mpfr.ok | 2 +
8 files changed, 60 insertions(+), 40 deletions(-)
copy test/{asortsymtab.ok => asortsymtab-mpfr.ok} (100%)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] gawk branch, gawk-5.3-stable, updated. gawk-4.1.0-5482-g6dfab71f,
Arnold Robbins <=