2022-08-03 Bruno Haible <bruno@clisp.org>
+ gnulib-tool.py: Implement option --single-configure.
+ * gnulib-tool.py (main): Accept option --single-configure. Pass its
+ value to the GLConfig constructor.
+ * pygnulib/GLTestDir.py (GLTestDir.execute): Remove debugging output.
+
gnulib-tool.py: Implement options --without-c++-tests etc.
* gnulib-tool.py (main): Accept options --without-c++-tests,
--without-longrunning-tests, --without-privileged-tests,
dest="makefile",
default=None,
type=str)
+ # single-configure
+ parser.add_argument('--single-configure',
+ dest='single_configure',
+ default=None,
+ action='store_true')
# symlink
parser.add_argument('-s', '--symbolic', '--symlink',
dest='symlink',
if ((mode in ['import', 'add-import', 'remove-import']
and (cmdargs.excl_cxx_tests or cmdargs.excl_longrunning_tests
- or cmdargs.excl_privileged_tests or cmdargs.excl_unportable_tests))
+ or cmdargs.excl_privileged_tests or cmdargs.excl_unportable_tests
+ or cmdargs.single_configure))
or (mode == 'update'
and (cmdargs.localpath != None or cmdargs.libname != None
or cmdargs.sourcebase != None or cmdargs.m4base != None
for module in list1 ]
symlink = cmdargs.symlink == True
lsymlink = cmdargs.lsymlink == True
+ single_configure = cmdargs.single_configure
# Create pygnulib configuration.
config = classes.GLConfig(
symbolic=symlink,
lsymbolic=lsymlink,
modcache=modcache,
+ single_configure=single_configure,
verbose=verbose,
dryrun=dryrun,
)
--extract-recursive-dependencies
--extract-recursive-link-directive
--extract-tests-module
- --single-configure
--conditional-dependencies
--no-conditional-dependencies
--gnu-make
if single_configure:
# Create $testsbase/Makefile.am.
destfile = joinpath(directory, 'Makefile.am')
- print(repr(destfile))
witness_macro = '%stests_WITNESS' % macro_prefix
emit, uses_subdirs = self.emiter.tests_Makefile_am(destfile,
tests_modules, self.makefiletable, witness_macro, for_test)