]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
check: enable gnulib's testsuite
authorPavel Raiskup <praiskup@redhat.com>
Mon, 12 Oct 2015 20:52:29 +0000 (22:52 +0200)
committerPavel Raiskup <praiskup@redhat.com>
Tue, 3 Nov 2015 19:34:42 +0000 (20:34 +0100)
* Makefile.am (SUBDIRS): Add gnulib-tests.
(EXTRA_DIST): Distribute also update-copyright script.  This does
not happen automatically because we manually remove ./lib
directory created by gnulib-tool.  Not having the file distributed
causes 'make check' failure, however.
(dotversion): Fix to point to $(top_srcdir).
* bootstrap.conf (gnulib_tool_options): Add gnulib-tool args
needed to successfully install gnulib's tests.
* configure.ac (CONFIG_STATUS_DEPENDENCIES): Look for .version in
$(top_srcdir).
* gnulib: Sync with upstream.
* build-aux/.gitignore: Ignore ar-lib coming from automake.

.gitignore
Makefile.am
NEWS
bootstrap.conf
build-aux/.gitignore
configure.ac
gnulib

index c3016d179b9c1b1cbe8d641500cd7beb8e4a47e7..ab4fdcbedeab41a187b458cc53dc680a858b9d46 100644 (file)
@@ -41,6 +41,7 @@
 /INSTALL
 /README-release
 /gnulib-local
+/gnulib-tests
 /libtoolize
 /libtoolize.in
 /maint.mk
index fd11dd0e736bfc4d904b68b1f460d7b3f90bd078..1a1d10d4c6b160a0b37cc8599f86db47deef29d1 100644 (file)
@@ -27,7 +27,7 @@ ACLOCAL_AMFLAGS               = -I m4
 AM_CPPFLAGS            =
 AM_LDFLAGS             =
 
-SUBDIRS                        = .
+SUBDIRS                        = . gnulib-tests
 DIST_SUBDIRS           = $(SUBDIRS)
 EXTRA_DIST             =
 
@@ -88,11 +88,12 @@ ltversion_in        = $(srcdir)/$(macro_dir)/ltversion.in
 ltversion_m4   = $(srcdir)/$(macro_dir)/ltversion.m4
 no_bogus_macros        = $(srcdir)/$(aux_dir)/no-bogus-m4-defines
 options_parser = $(srcdir)/$(aux_dir)/options-parser
+u2d_copyright  = $(srcdir)/$(aux_dir)/update-copyright
 
 EXTRA_DIST     += $(extract_trace) $(funclib_sh) $(inline_source) \
                  $(libtoolize_in) $(ltmain_in) $(ltmain_sh) \
                  $(ltversion_in) $(ltversion_m4) $(no_bogus_macros) \
-                 $(options_parser)
+                 $(options_parser) $(u2d_copyright)
 
 ## These are the replacements that need to be made at bootstrap time,
 ## because they must be static in distributed files, and not accidentally
@@ -538,7 +539,7 @@ git_log_fix         = $(srcdir)/$(aux_dir)/git-log-fix
 thanks_gen             = $(srcdir)/$(aux_dir)/thanks-gen
 
 dotserial              = $(distdir)/.serial
-dotversion             = $(srcdir)/.version
+dotversion             = $(top_srcdir)/.version
 tarball_version                = $(distdir)/.tarball-version
 readme                 = $(distdir)/README
 changelog              = $(distdir)/ChangeLog
diff --git a/NEWS b/NEWS
index 7c23d031a699971c093dd6dc5737cb8056f3da33..bca041c5161583753283bb35ea6c977df976fbd5 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,8 @@ NEWS - list of user-visible changes between releases of GNU Libtool
     variable, which obsoletes AR_FLAGS.  This is due to naming conventions
     among other *FLAGS and to be consistent with Automake's ARFLAGS.
 
+  - Gnulib testsuite is enabled and run during 'make check'.
+
 ** Important incompatible changes:
 
   - Libtool changed ARFLAGS/AR_FLAGS default from 'cru' to 'cr'.
index db6c74d78826e72170102bcaaaf7e6c3327af5aa..9bc13426a88201ffb048668e69c2e65027efac6a 100644 (file)
@@ -61,6 +61,7 @@ gnulib_tool_options=$gnulib_tool_options"
         --avoid=dummy
         --libtool
         --macro-prefix=GL
+        --with-tests --tests-base=gnulib-tests
 "
 
 # gnulib modules used by this package.
index a4c22313b5bf78eced313fec8f7b4e88bf5d209e..f67c0540fec7a3e09b6446ba9d5dd867c0051df4 100644 (file)
@@ -1,4 +1,5 @@
 /announce-gen
+/ar-lib
 /compile
 /depcomp
 /do-release-commit-and-tag
index 6c66f1e1059b6e8a1eda0bd731cd41f0c71d139e..5647be407098d347509aa1d182788dc87ba9e38e 100644 (file)
@@ -111,7 +111,7 @@ AB_INIT([$autobuild_mode])
 
 
 dnl Make sure config.status is regenerated when the version timestamp changes
-AC_SUBST([CONFIG_STATUS_DEPENDENCIES], ['$(srcdir)/.version'])
+AC_SUBST([CONFIG_STATUS_DEPENDENCIES], ['$(top_srcdir)/.version'])
 
 
 ## ------------------------------- ##
@@ -182,5 +182,5 @@ AM_MISSING_PROG([HELP2MAN], [help2man])
 ## -------- ##
 ## Outputs. ##
 ## -------- ##
-AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([Makefile gnulib-tests/Makefile])
 AC_OUTPUT
diff --git a/gnulib b/gnulib
index a5a1569d1953536af019636c49bd3e7a5cbbbde2..82d514b0645efd10b2b68b911372ae84e1a54da4 160000 (submodule)
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit a5a1569d1953536af019636c49bd3e7a5cbbbde2
+Subproject commit 82d514b0645efd10b2b68b911372ae84e1a54da4