forked from coreutils/gnulib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gnulib-tool.py: Avoid adding specific modules to a testdir.
Reported by Paul Eggert in <https://lists.gnu.org/archive/html/bug-gnulib/2024-07/msg00292.html>. * pygnulib/GLInfo.py (GLInfo.usage): Document --extract-usability-in-testdir option. * pygnulib/GLModuleSystem.py (GLModule.section_label_pattern): Recognize Usable-in-testdir section. (GLModule.getUsabilityInTestdir): New function. * pygnulib/GLTestDir.py (GLTestDir.execute): Invoke it to filter out modules to avoid. Warn if such a module was specified. * pygnulib/main.py (main): Add support for --extract-usability-in-testdir. Provide an error message for error 24. * pygnulib/GLError.py: Likewise. * modules/config-h (Usable-in-testdir): New section. * modules/lib-ignore (Usable-in-testdir): New section. * modules/mountlist (Usable-in-testdir): New section. * modules/non-recursive-gnulib-prefix-hack (Usable-in-testdir): New section. * modules/timevar (Usable-in-testdir): New section. (Files): Remove lib/timevar.def.
- Loading branch information
Showing
11 changed files
with
92 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,26 @@ | ||
2024-07-28 Bruno Haible <[email protected]> | ||
|
||
gnulib-tool.py: Avoid adding specific modules to a testdir. | ||
Reported by Paul Eggert in | ||
<https://lists.gnu.org/archive/html/bug-gnulib/2024-07/msg00292.html>. | ||
* pygnulib/GLInfo.py (GLInfo.usage): Document | ||
--extract-usability-in-testdir option. | ||
* pygnulib/GLModuleSystem.py (GLModule.section_label_pattern): Recognize | ||
Usable-in-testdir section. | ||
(GLModule.getUsabilityInTestdir): New function. | ||
* pygnulib/GLTestDir.py (GLTestDir.execute): Invoke it to filter out | ||
modules to avoid. Warn if such a module was specified. | ||
* pygnulib/main.py (main): Add support for | ||
--extract-usability-in-testdir. Provide an error message for error 24. | ||
* pygnulib/GLError.py: Likewise. | ||
* modules/config-h (Usable-in-testdir): New section. | ||
* modules/lib-ignore (Usable-in-testdir): New section. | ||
* modules/mountlist (Usable-in-testdir): New section. | ||
* modules/non-recursive-gnulib-prefix-hack (Usable-in-testdir): New | ||
section. | ||
* modules/timevar (Usable-in-testdir): New section. | ||
(Files): Remove lib/timevar.def. | ||
|
||
2024-07-28 Bruno Haible <[email protected]> | ||
|
||
gnulib-tool.py: Fix an exception message. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters