+2024-03-05 Collin Funk <collin.funk1@gmail.com>
+
+ gnulib-tool.py: Fix incorrect tests Makefile.am generation.
+ * pygnulib/GLImport.py: Call GLEmiter.tests_Makefile_am instead of
+ GLEmiter.lib_Makefile_am when creating the tests Makefile. Replace
+ incorrect actioncmd argument with witness_macro.
+
2024-03-05 Bruno Haible <bruno@clisp.org>
doc: Update info about fopencookie.
if inctests:
basename = joinpath(testsbase, makefile_am)
tmpfile = self.assistant.tmpfilename(basename)
- emit, uses_subdirs = self.emitter.lib_Makefile_am(basename,
- self.moduletable['tests'], self.moduletable, self.makefiletable,
- actioncmd, for_test)
+ emit, uses_subdirs = self.emitter.tests_Makefile_am(basename,
+ self.moduletable['tests'], self.moduletable, self.makefiletable,
+ '%stests_WITNESS' % macro_prefix, for_test)
with codecs.open(tmpfile, 'wb', 'UTF-8') as file:
file.write(emit)
filename, backup, flag = self.assistant.super_update(basename, tmpfile)