[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gawk-diffs] [SCM] gawk branch, feature/improve-tests, updated. gawk-4.1
From: |
Arnold Robbins |
Subject: |
[gawk-diffs] [SCM] gawk branch, feature/improve-tests, updated. gawk-4.1.0-3062-g1272a45 |
Date: |
Mon, 9 Apr 2018 14:03:17 -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, feature/improve-tests has been updated
via 1272a45394f2bd0ff753ea7e489e0137c6ff409a (commit)
from a346e8bf2579b4b774cb414961d6d14c663d6e15 (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=1272a45394f2bd0ff753ea7e489e0137c6ff409a
commit 1272a45394f2bd0ff753ea7e489e0137c6ff409a
Author: Arnold D. Robbins <address@hidden>
Date: Mon Apr 9 21:03:00 2018 +0300
Improve clos1way test.
diff --git a/test/ChangeLog b/test/ChangeLog
index 9d53898..8e78c2c 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -4,6 +4,11 @@
* Gentests: Add support for such tests.
* randtest.sh: Use $AWK, not $GAWK so it can be generated.
+ Unrelated:
+
+ * Makefile.am (clos1way): Use standard locale verbiage in
+ preparation for later automation of specialized locale tests.
+
2018-04-08 Arnold D. Robbins <address@hidden>
* Makefile.am (manyfiles, pid): Use echo $@ to echo test name.
diff --git a/test/Makefile.am b/test/Makefile.am
index 5616d06..cf71761 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -2199,7 +2199,8 @@ colonwarn:
clos1way:
@echo $@
- @AWKPATH="$(srcdir)" LC_ALL=C $(AWK) -f address@hidden >_$@ 2>&1 ||
echo EXIT CODE: $$? >>_$@
+ @[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=C; \
+ AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
dfamb1:
diff --git a/test/Makefile.in b/test/Makefile.in
index e9f6f41..e7dcba5 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -2641,7 +2641,8 @@ colonwarn:
clos1way:
@echo $@
- @AWKPATH="$(srcdir)" LC_ALL=C $(AWK) -f address@hidden >_$@ 2>&1 ||
echo EXIT CODE: $$? >>_$@
+ @[ -z "$$GAWKLOCALE" ] && GAWKLOCALE=C; \
+ AWKPATH="$(srcdir)" $(AWK) -f address@hidden >_$@ 2>&1 || echo EXIT
CODE: $$? >>_$@
@-$(CMP) "$(srcdir)"/address@hidden _$@ && rm -f _$@
dfamb1:
-----------------------------------------------------------------------
Summary of changes:
test/ChangeLog | 5 +++++
test/Makefile.am | 3 ++-
test/Makefile.in | 3 ++-
3 files changed, 9 insertions(+), 2 deletions(-)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gawk-diffs] [SCM] gawk branch, feature/improve-tests, updated. gawk-4.1.0-3062-g1272a45,
Arnold Robbins <=