]> Savannah Git Hosting - gnulib.git/commitdiff
gnulib-tool.py: Don't remove newlines in testdir's Automake snippets.
authorCollin Funk <collin.funk1@gmail.com>
Fri, 22 Mar 2024 19:57:01 +0000 (12:57 -0700)
committerBruno Haible <bruno@clisp.org>
Fri, 22 Mar 2024 20:09:23 +0000 (21:09 +0100)
* pygnulib/GLTestDir.py (GLTestDir.execute): Don't strip newlines from
Automake snippets.

ChangeLog
pygnulib/GLTestDir.py

index 183a1e199663b3f7af9e772365898a4cd3d59926..c8f4063444401eb3fd3ac438460b4ab0e38aebcb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-03-22  Collin Funk  <collin.funk1@gmail.com>
+
+       gnulib-tool.py: Don't remove newlines in testdir's Automake snippets.
+       * pygnulib/GLTestDir.py (GLTestDir.execute): Don't strip newlines from
+       Automake snippets.
+
 2024-03-22  Collin Funk  <collin.funk1@gmail.com>
 
        gnulib-tool.py: Fix empty newline output in test directories.
index 6f6a75931a3e87c8be506d4ee354289bfad18f0c..1807112e2472b5d352cd3e46129c1f4cc65ca5f0 100644 (file)
@@ -647,7 +647,7 @@ class GLTestDir(object):
             emit += '[$gl_module_indicator_condition])\n'
             snippets = self.emitter.autoconfSnippets(tests_modules, main_modules + tests_modules,
                                                      moduletable, 1, True, False, False, replace_auxdir)
-            emit += snippets.strip()
+            emit += snippets
             emit += '  m4_popdef([gl_MODULE_INDICATOR_CONDITION])\n'
             emit += self.emitter.initmacro_end('%stests' % macro_prefix, True)
         # _LIBDEPS and _LTLIBDEPS variables are not needed if this library is