gawk-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gawk-diffs] [SCM] gawk branch, gawk-4.1-stable, updated. gawk-4.1.0-705


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, gawk-4.1-stable, updated. gawk-4.1.0-705-gb8a8384
Date: Thu, 21 May 2015 11:38:30 +0000

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-4.1-stable has been updated
       via  b8a83849a4871b5ecb186d2bb60e2541a75910ac (commit)
       via  c9a018c38fa4ff9abf4976398921f315be37b881 (commit)
      from  7100f51d8cfa0e7adab3fd40fdb9d29fdd8ad8ca (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=b8a83849a4871b5ecb186d2bb60e2541a75910ac

commit b8a83849a4871b5ecb186d2bb60e2541a75910ac
Author: Arnold D. Robbins <address@hidden>
Date:   Thu May 21 14:37:58 2015 +0300

    Improve error message if inadequate locale support.

diff --git a/test/ChangeLog b/test/ChangeLog
index be92aac..ca868bf 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -3,6 +3,9 @@
        * fts.awk: Really remove atime from the output. 
        This avoids spurious failures on heavily loaded systems.
 
+       * Makefile.am: Add list of needed locales to "inadequate locale
+       support" message.
+
 2015-05-19         Arnold D. Robbins     <address@hidden>
 
        * 4.1.3: Release tar ball made.
diff --git a/test/Makefile.am b/test/Makefile.am
index 8838b70..4a66a1f 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1156,6 +1156,7 @@ charset-tests-all:
                $(MAKE) charset-msg-start charset-tests charset-msg-end; \
        else \
                echo %%%%%%%%%% Inadequate locale support: skipping charset 
tests. ; \
+               echo %%%%%%%%%% At least en_US.UTF-8, ru_RU.UTF-8 and 
ja_JP.UTF-8 are needed. ; \
        fi
 
 charset-tests: $(LOCALE_CHARSET_TESTS)
@@ -1222,7 +1223,7 @@ charset-msg-start:
        @echo "======== Starting tests that can vary based on character set or 
locale support ========"
        @echo 
"**************************************************************************"
        @echo "* Some or all of these tests may fail if you have inadequate or 
missing  *"
-       @echo "* locale support At least en_US.UTF-8, ru_RU.UTF-8 and 
ja_JP.UTF-8 are   *"
+       @echo "* locale support. At least en_US.UTF-8, ru_RU.UTF-8 and 
ja_JP.UTF-8 are  *"
        @echo "* needed. However, if you see this message, the Makefile thinks 
you have *"
        @echo "* what you need ...                                              
        *"
        @echo 
"**************************************************************************"
diff --git a/test/Makefile.in b/test/Makefile.in
index 4c0fd9e..98175bf 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -1596,6 +1596,7 @@ charset-tests-all:
                $(MAKE) charset-msg-start charset-tests charset-msg-end; \
        else \
                echo %%%%%%%%%% Inadequate locale support: skipping charset 
tests. ; \
+               echo %%%%%%%%%% At least en_US.UTF-8, ru_RU.UTF-8 and 
ja_JP.UTF-8 are needed. ; \
        fi
 
 charset-tests: $(LOCALE_CHARSET_TESTS)
@@ -1662,7 +1663,7 @@ charset-msg-start:
        @echo "======== Starting tests that can vary based on character set or 
locale support ========"
        @echo 
"**************************************************************************"
        @echo "* Some or all of these tests may fail if you have inadequate or 
missing  *"
-       @echo "* locale support At least en_US.UTF-8, ru_RU.UTF-8 and 
ja_JP.UTF-8 are   *"
+       @echo "* locale support. At least en_US.UTF-8, ru_RU.UTF-8 and 
ja_JP.UTF-8 are  *"
        @echo "* needed. However, if you see this message, the Makefile thinks 
you have *"
        @echo "* what you need ...                                              
        *"
        @echo 
"**************************************************************************"

http://git.sv.gnu.org/cgit/gawk.git/commit/?id=c9a018c38fa4ff9abf4976398921f315be37b881

commit c9a018c38fa4ff9abf4976398921f315be37b881
Author: Arnold D. Robbins <address@hidden>
Date:   Thu May 21 14:36:12 2015 +0300

    Fix fts test to not include atime.

diff --git a/test/ChangeLog b/test/ChangeLog
index 738c1af..be92aac 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,8 @@
+2015-05-21         Arnold D. Robbins     <address@hidden>
+
+       * fts.awk: Really remove atime from the output. 
+       This avoids spurious failures on heavily loaded systems.
+
 2015-05-19         Arnold D. Robbins     <address@hidden>
 
        * 4.1.3: Release tar ball made.
diff --git a/test/fts.awk b/test/fts.awk
index b1df060..dea5b68 100644
--- a/test/fts.awk
+++ b/test/fts.awk
@@ -50,6 +50,11 @@ function sort_traverse(data, sorted, i)
 {
        asorti(data, sorted)
        for (i = 1; i in sorted; i++) {
+               # 5/2015: skip for atime, since there can
+               # occasionally be small differences.
+               if (sorted[i] == "atime")
+                       continue
+
                indent()
                printf("%s --> %s\n", sorted[i], data[sorted[i]]) > output
        }
@@ -63,17 +68,20 @@ function traverse(data,         i)
                        printf("%s:\n", i) > output
 
                        Level++
-                       if (("mtime" in data[i]) && ! isarray(data[i][mtime])) {
+                       if (("mtime" in data[i]) && ! 
isarray(data[i]["mtime"])) {
                                sort_traverse(data[i])
                        } else {
                                traverse(data[i])
                        }
                        Level--
-               } else if (data[i] != "atime") {
-                       # 4/2015: skip for atime, since there can
-                       # occasionally be small differences.
-                       indent()
-                       printf("%s --> %s\n", i, data[i]) > output
+#              } else {
+#                      JUNK = 1
+#                      if (i != "atime") {
+#                              # 4/2015: skip for atime, since there can
+#                              # occasionally be small differences.
+#                              indent()
+#                              printf("%s --> %s\n", i, data[i]) > output
+#                      }
                }
        }
 }

-----------------------------------------------------------------------

Summary of changes:
 test/ChangeLog   |    8 ++++++++
 test/Makefile.am |    3 ++-
 test/Makefile.in |    3 ++-
 test/fts.awk     |   20 ++++++++++++++------
 4 files changed, 26 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]