This patch reduces the mismatch from
GNULIB_TOOL_IMPL=py ./test-create-testdir-2.sh


2024-03-23  Bruno Haible  <br...@clisp.org>

        gnulib-tool.py: Print "executing touch config.h.in".
        * pygnulib/GLTestDir.py (GLTestDir.execute): Print
        "executing touch config.h.in", like gnulib-tool.sh does.

diff --git a/pygnulib/GLTestDir.py b/pygnulib/GLTestDir.py
index 1807112e24..5f6fc1a0d9 100644
--- a/pygnulib/GLTestDir.py
+++ b/pygnulib/GLTestDir.py
@@ -714,6 +714,8 @@ class GLTestDir(object):
         # autoheader
         args = [UTILS['autoheader']]
         constants.execute(args, verbose)
+        # Explicit 'touch config.h.in': see 
<https://savannah.gnu.org/support/index.php?109406>.
+        print('executing touch config.h.in')
         Path('config.h.in').touch()
         # automake
         args = [UTILS['automake'], '--add-missing', '--copy']
@@ -746,6 +748,8 @@ class GLTestDir(object):
             # autoheader
             args = [UTILS['autoheader']]
             constants.execute(args, verbose)
+            # Explicit 'touch config.h.in': see 
<https://savannah.gnu.org/support/index.php?109406>.
+            print('executing touch config.h.in')
             Path('config.h.in').touch()
             # automake
             args = [UTILS['automake'], '--add-missing', '--copy']




Reply via email to