* pygnulib/GLModuleSystem.py (GLModule.getDependents): Add the current
module's test module, if that exists.
+2024-08-16 Bruno Haible <bruno@clisp.org>
+
+ gnulib-tool.py: Correct the result of --extract-dependents.
+ * pygnulib/GLModuleSystem.py (GLModule.getDependents): Add the current
+ module's test module, if that exists.
+
2024-08-16 Bruno Haible <bruno@clisp.org>
gnulib-tool.py: Don't treat 'valgrind-tests' as a tests module.
listing = [ line
for line in listing
if self.modulesystem.file_is_module(line) ]
+ # ${module}-tests implicitly depends on ${module}, if both exist.
+ if self.isNonTests():
+ implicit_dependent = self.name+'-tests'
+ if self.modulesystem.exists(implicit_dependent):
+ listing.append(implicit_dependent)
candidates = sorted(set(listing))
result = []
for name in candidates: