Hash :
8f2cda7d
Author :
Date :
2024-07-28T23:52:04
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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
Description:
Return list of mounted file systems.
Usable-in-testdir:
# This module aborts the configuration on mingw. FIXME
no
Files:
lib/mountlist.h
lib/mountlist.c
m4/fstypename.m4
m4/mountlist.m4
Depends-on:
fopen-gnu
free-posix
getline
open
unlocked-io-internal
stdbool
stdint
strstr-simple
xalloc
configure.ac:
gl_MOUNTLIST
gl_CONDITIONAL([GL_COND_OBJ_MOUNTLIST], [test $gl_cv_list_mounted_fs = yes])
AM_COND_IF([GL_COND_OBJ_MOUNTLIST], [
gl_PREREQ_MOUNTLIST_EXTRA
])
Makefile.am:
if GL_COND_OBJ_MOUNTLIST
lib_SOURCES += mountlist.c
endif
Include:
"mountlist.h"
License:
GPL
Maintainer:
Jim Meyering