From: Collin Funk Date: Tue, 30 Apr 2024 05:15:56 +0000 (-0700) Subject: gnulib-tool.py: Emit libtests in testdirs generated Makefile.am. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=afca3c77593e3108b0ddfa8ffdf05d7ecfb8137f;p=gnulib.git gnulib-tool.py: Emit libtests in testdirs generated Makefile.am. Reported by Bruno Haible in . * pygnulib/GLTestDir.py (GLTestDir.execute): Modify the GLEmiter's config variable instead of the GLTestDir's so that it can be accessed when emitting the Makefile.am. --- diff --git a/ChangeLog b/ChangeLog index c52dee0b6f..0fdeee8cf9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2024-04-29 Collin Funk + + gnulib-tool.py: Emit libtests in testdirs generated Makefile.am. + Reported by Bruno Haible in + . + * pygnulib/GLTestDir.py (GLTestDir.execute): Modify the GLEmiter's + config variable instead of the GLTestDir's so that it can be accessed + when emitting the Makefile.am. + 2024-04-28 Collin Funk doc: Update macro list in gnulib-cache.m4 documentation. diff --git a/pygnulib/GLTestDir.py b/pygnulib/GLTestDir.py index 002eb30267..11b067e085 100644 --- a/pygnulib/GLTestDir.py +++ b/pygnulib/GLTestDir.py @@ -244,8 +244,7 @@ class GLTestDir: if file.startswith('lib/'): libtests = True break - if libtests: - self.config.setLibtests(True) + self.emitter.config.setLibtests(libtests) if single_configure: # Add the dummy module to the main module list if needed.