gawk-diffs
[Top][All Lists]
Advanced

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

[gawk-diffs] [SCM] gawk branch, feature/api-parser, updated. gawk-4.1.0-


From: Andrew J. Schorr
Subject: [gawk-diffs] [SCM] gawk branch, feature/api-parser, updated. gawk-4.1.0-2446-gba399f4
Date: Mon, 6 Mar 2017 21:29:38 -0500 (EST)

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/api-parser has been updated
       via  ba399f4366c1a43fe7975f8df70664397d804cc4 (commit)
      from  e5261cf0bb2b565661e5e4d1be4a78c64c501b34 (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=ba399f4366c1a43fe7975f8df70664397d804cc4

commit ba399f4366c1a43fe7975f8df70664397d804cc4
Author: Andrew J. Schorr <address@hidden>
Date:   Mon Mar 6 21:29:17 2017 -0500

    Add new test readdir_test to check whether API get_record field_width 
parsing is working.

diff --git a/extension/Makefile.in b/extension/Makefile.in
index 5d82045..c3aba97 100644
--- a/extension/Makefile.in
+++ b/extension/Makefile.in
@@ -526,11 +526,11 @@ pkgextension_LTLIBRARIES = \
        revoutput.la    \
        revtwoway.la    \
        rwarray.la      \
+       testext.la      \
        time.la
 
 noinst_LTLIBRARIES = \
-       readdir_test.la \
-       testext.la
+       readdir_test.la
 
 MY_MODULE_FLAGS = -module -avoid-version -no-undefined
 # on Cygwin, gettext requires that we link with -lintl 
@@ -570,13 +570,13 @@ rwarray_la_LIBADD = $(MY_LIBS)
 time_la_SOURCES = time.c
 time_la_LDFLAGS = $(MY_MODULE_FLAGS)
 time_la_LIBADD = $(MY_LIBS)
+testext_la_SOURCES = testext.c
+testext_la_LDFLAGS = $(MY_MODULE_FLAGS)
+testext_la_LIBADD = $(MY_LIBS)
 
-# N.B. Because we are not installing testext, we must specify -rpath in
+# N.B. Because we are not installing readdir_test, we must specify -rpath in
 # LDFLAGS to get automake to build a shared library, since it needs
 # an installation path.
-testext_la_SOURCES = testext.c
-testext_la_LDFLAGS = $(MY_MODULE_FLAGS) -rpath /foo
-testext_la_LIBADD = $(MY_LIBS)
 readdir_test_la_SOURCES = readdir_test.c
 readdir_test_la_LDFLAGS = $(MY_MODULE_FLAGS) -rpath /foo
 readdir_test_la_LIBADD = $(MY_LIBS)
@@ -731,7 +731,7 @@ rwarray.la: $(rwarray_la_OBJECTS) 
$(rwarray_la_DEPENDENCIES) $(EXTRA_rwarray_la_
        $(AM_V_CCLD)$(rwarray_la_LINK) -rpath $(pkgextensiondir) 
$(rwarray_la_OBJECTS) $(rwarray_la_LIBADD) $(LIBS)
 
 testext.la: $(testext_la_OBJECTS) $(testext_la_DEPENDENCIES) 
$(EXTRA_testext_la_DEPENDENCIES) 
-       $(AM_V_CCLD)$(testext_la_LINK)  $(testext_la_OBJECTS) 
$(testext_la_LIBADD) $(LIBS)
+       $(AM_V_CCLD)$(testext_la_LINK) -rpath $(pkgextensiondir) 
$(testext_la_OBJECTS) $(testext_la_LIBADD) $(LIBS)
 
 time.la: $(time_la_OBJECTS) $(time_la_DEPENDENCIES) 
$(EXTRA_time_la_DEPENDENCIES) 
        $(AM_V_CCLD)$(time_la_LINK) -rpath $(pkgextensiondir) 
$(time_la_OBJECTS) $(time_la_LIBADD) $(LIBS)
diff --git a/test/ChangeLog b/test/ChangeLog
index b0ca5a9..acd2bf7 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,10 @@
+2017-03-06         Andrew J. Schorr     <address@hidden>
+
+       * Makefile.am (readdir_test): New test to check whether get_record
+       field_width parsing is working by comparing the results from the
+       readdir and readdir_test extensions.
+       (SHLIB_TESTS): Add readdir_test.
+
 2017-02-21         Andrew J. Schorr     <address@hidden>
 
        * Makefile.am (mktime): New test.
diff --git a/test/Makefile.am b/test/Makefile.am
index 65336b6..c41e9dd 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1263,7 +1263,7 @@ LOCALE_CHARSET_TESTS = \
 
 SHLIB_TESTS = \
        apiterm fnmatch filefuncs fork fork2 fts functab4 getfile inplace1 
inplace2 inplace3 \
-       ordchr ordchr2 readdir readfile readfile2 revout revtwoway rwarray 
testext time
+       ordchr ordchr2 readdir readdir_test readfile readfile2 revout revtwoway 
rwarray testext time
 
 # List of the tests which should be run with --lint option:
 NEED_LINT = \
@@ -2193,6 +2193,12 @@ readdir:
                -v dirlist=_dirlist -v longlist=_longlist > address@hidden
        @-$(CMP) address@hidden _$@ && rm -f address@hidden _$@ _dirlist 
_longlist
 
+readdir_test:
+       @echo $@
+       @$(AWK) -lreaddir -F/ '{printf "[%s] [%s] [%s] [%s]\n", $$1, $$2, $$3, 
$$4}' "$(top_srcdir)" > address@hidden
+       @$(AWK) -lreaddir_test '{printf "[%s] [%s] [%s] [%s]\n", $$1, $$2, $$3, 
$$4}' "$(top_srcdir)" > _$@
+       @-$(CMP) address@hidden _$@ && rm -f address@hidden _$@
+
 fts:
        @case `uname` in \
        IRIX) \
diff --git a/test/Makefile.in b/test/Makefile.in
index 1a61996..c07bc6d 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -1516,7 +1516,7 @@ LOCALE_CHARSET_TESTS = \
 
 SHLIB_TESTS = \
        apiterm fnmatch filefuncs fork fork2 fts functab4 getfile inplace1 
inplace2 inplace3 \
-       ordchr ordchr2 readdir readfile readfile2 revout revtwoway rwarray 
testext time
+       ordchr ordchr2 readdir readdir_test readfile readfile2 revout revtwoway 
rwarray testext time
 
 
 # List of the tests which should be run with --lint option:
@@ -2632,6 +2632,12 @@ readdir:
                -v dirlist=_dirlist -v longlist=_longlist > address@hidden
        @-$(CMP) address@hidden _$@ && rm -f address@hidden _$@ _dirlist 
_longlist
 
+readdir_test:
+       @echo $@
+       @$(AWK) -lreaddir -F/ '{printf "[%s] [%s] [%s] [%s]\n", $$1, $$2, $$3, 
$$4}' "$(top_srcdir)" > address@hidden
+       @$(AWK) -lreaddir_test '{printf "[%s] [%s] [%s] [%s]\n", $$1, $$2, $$3, 
$$4}' "$(top_srcdir)" > _$@
+       @-$(CMP) address@hidden _$@ && rm -f address@hidden _$@
+
 fts:
        @case `uname` in \
        IRIX) \

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

Summary of changes:
 extension/Makefile.in | 14 +++++++-------
 test/ChangeLog        |  7 +++++++
 test/Makefile.am      |  8 +++++++-
 test/Makefile.in      |  8 +++++++-
 4 files changed, 28 insertions(+), 9 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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