gawk-diffs
[Top][All Lists]
Advanced

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

[gawk-diffs] [SCM] gawk branch, xgawk, updated. d6ee0f78f05caa4136cbc713


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

commit d6ee0f78f05caa4136cbc713fab64a0308f0da5d
Author: Andrew J. Schorr <address@hidden>
Date:   Sat Apr 7 23:54:39 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/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/ordchr2.ok  |    1 +
 3 files changed, 11 insertions(+), 4 deletions(-)
 create mode 100644 test/ordchr2.ok


hooks/post-receive
-- 
gawk



reply via email to

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