* pygnulib/GLTestDir.py (GLMegaTestDir.execute): Use a separate set to
remove duplicates from the original list without sorting.
+2024-04-27 Collin Funk <collin.funk1@gmail.com>
+
+ gnulib-tool.py: Preserve module ordering in --create-megatestdir.
+ * pygnulib/GLTestDir.py (GLMegaTestDir.execute): Use a separate set to
+ remove duplicates from the original list without sorting.
+
2024-04-27 Bruno Haible <bruno@clisp.org>
fcntl-h, stdio, unistd: Ensure off64_t is defined on all platforms.
modules = self.modulesystem.list()
modules = [ self.modulesystem.find(m)
for m in modules ]
- modules = sorted(set(modules))
+ # Preserve ordering from the command-line, but remove duplicates.
+ # This allows control over the SUBDIRS variable in the top-level Makefile.am.
+ module_set = set(modules)
+ modules = [ module
+ for module in modules
+ if module in module_set ]
# First, all modules one by one.
for module in modules: