From afca3c77593e3108b0ddfa8ffdf05d7ecfb8137f Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Mon, 29 Apr 2024 22:15:56 -0700 Subject: [PATCH] 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. --- ChangeLog | 9 +++++++++ pygnulib/GLTestDir.py | 3 +-- 2 files changed, 10 insertions(+), 2 deletions(-) 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. -- 2.39.5