gawk-diffs
[Top][All Lists]
Advanced

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

[gawk-diffs] [SCM] gawk branch, xgawk-build, updated. 266864e87a5f500d0c


From: Andrew J. Schorr
Subject: [gawk-diffs] [SCM] gawk branch, xgawk-build, updated. 266864e87a5f500d0c3b570cb489e040ae69a3b2
Date: Sun, 08 Apr 2012 03:55:11 +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, xgawk-build has been updated
       via  266864e87a5f500d0c3b570cb489e040ae69a3b2 (commit)
      from  00e983dfaf983f2e63d74062b7e81716ce2cc0d1 (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=266864e87a5f500d0c3b570cb489e040ae69a3b2

commit 266864e87a5f500d0c3b570cb489e040ae69a3b2
Author: Andrew J. Schorr <address@hidden>
Date:   Sat Apr 7 23:54:45 2012 -0400

    Fix shared library tests to work properly with make diffout.

diff --git a/test/ChangeLog b/test/ChangeLog
index 5993ca2..4d4d555 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,5 +1,11 @@
 2012-04-07         Andrew J. Schorr     <address@hidden>
 
+       * Makefile.am (ordchr2, readfile): Fix so "make diffout" will work
+       properly.
+       * orchr2.ok: New file.
+
+2012-04-07         Andrew J. Schorr     <address@hidden>
+
        * Makefile.am (check): Add new shlib-tests target.
        (SHLIB_TESTS): Add tests ordchr, ordchr2, fork, fork2, readfile and
        filefuncs.
diff --git a/test/Makefile.am b/test/Makefile.am
index 854a8f7..4ed867d 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1465,13 +1465,13 @@ rri1::
 
 ordchr2::
        @echo $@
-       @$(AWK) -l ordchr 'BEGIN {print chr(ord("A"))}' >_$@ 2>&1
-       @-$(CMP) $(srcdir)/ordchr.ok _$@ && rm -f _$@
+       @$(AWK) -l ordchr 'BEGIN {print chr(ord("z"))}' >_$@ 2>&1 || echo EXIT 
CODE: $$? >>_$@
+       @-$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@
 
 readfile::
        @echo $@
-       @$(AWK) -l readfile 'BEGIN {printf "%s", readfile("Makefile")}' 2>&1 \
-       | $(CMP) Makefile -
+       @$(AWK) -l readfile 'BEGIN {printf "%s", readfile("Makefile")}' >_$@ 
2>&1 || echo EXIT CODE: $$? >>_$@
+       @-$(CMP) Makefile _$@ && rm -f _$@ || cp -p Makefile address@hidden
 
 # Targets generated for other tests:
 include Maketests
diff --git a/test/Makefile.in b/test/Makefile.in
index 6f6f475..9354abc 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -1844,13 +1844,13 @@ rri1::
 
 ordchr2::
        @echo $@
-       @$(AWK) -l ordchr 'BEGIN {print chr(ord("A"))}' >_$@ 2>&1
-       @-$(CMP) $(srcdir)/ordchr.ok _$@ && rm -f _$@
+       @$(AWK) -l ordchr 'BEGIN {print chr(ord("z"))}' >_$@ 2>&1 || echo EXIT 
CODE: $$? >>_$@
+       @-$(CMP) $(srcdir)/address@hidden _$@ && rm -f _$@
 
 readfile::
        @echo $@
-       @$(AWK) -l readfile 'BEGIN {printf "%s", readfile("Makefile")}' 2>&1 \
-       | $(CMP) Makefile -
+       @$(AWK) -l readfile 'BEGIN {printf "%s", readfile("Makefile")}' >_$@ 
2>&1 || echo EXIT CODE: $$? >>_$@
+       @-$(CMP) Makefile _$@ && rm -f _$@ || cp -p Makefile address@hidden
 Gt-dummy:
 # file Maketests, generated from Makefile.am by the Gentests program
 addcomma:
diff --git a/test/ordchr2.ok b/test/ordchr2.ok
new file mode 100644
index 0000000..b680253
--- /dev/null
+++ b/test/ordchr2.ok
@@ -0,0 +1 @@
+z

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

Summary of changes:
 test/ChangeLog   |    6 ++++++
 test/Makefile.am |    8 ++++----
 test/Makefile.in |    8 ++++----
 test/ordchr2.ok  |    1 +
 4 files changed, 15 insertions(+), 8 deletions(-)
 create mode 100644 test/ordchr2.ok


hooks/post-receive
-- 
gawk



reply via email to

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