* Module dependencies
@ 2020-03-26 16:00 Jeffrey Walton
2020-03-26 20:36 ` Bruno Haible
0 siblings, 1 reply; 2+ messages in thread
From: Jeffrey Walton @ 2020-03-26 16:00 UTC (permalink / raw)
To: bug-gnulib
Hi Everyone,
There are 1700+ modules according to --list. At 3 minutes (est.) a
test that would take 85 hours to complete.
I _think_ a speedup is, if module A uses B and C, then we can scratch
three off the list at a time. The problem I am having is, I'm having
trouble understand the output from --extract-dependencies and
--extract-recursive-dependencies.
What is the difference between these:
CASE 1:
./gnulib-tool --create-testdir --dir="${TEST_DIR}" iconv
Module list with included dependencies (indented):
absolute-header
accept
accept-tests
alloca
alloca-opt
alloca-opt-tests
...
CASE 2:
$ ./gnulib-tool --extract-dependencies iconv
havelib
CASE 3:
$ ./gnulib-tool --extract-recursive-dependencies iconv
havelib
iconv
In Case 1 there's a rich list of modules. Case 2 and Case 3 seem to be
missing dependencies. For example, --list shows:
$ ./gnulib-tool --list
...
alloca
alloca-opt
allocator
...
So Case 1 says alloca and alloca-opt are included and tested with
iconv. Case 2 and Case 3 say alloca and alloca-opt are not included
and therefore not tested with iconv.
What is the difference in outputs?
Jeff
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Module dependencies
2020-03-26 16:00 Module dependencies Jeffrey Walton
@ 2020-03-26 20:36 ` Bruno Haible
0 siblings, 0 replies; 2+ messages in thread
From: Bruno Haible @ 2020-03-26 20:36 UTC (permalink / raw)
To: bug-gnulib, noloader
Hi,
> So Case 1 says alloca and alloca-opt are included and tested with
> iconv. Case 2 and Case 3 say alloca and alloca-opt are not included
> and therefore not tested with iconv.
Try
./gnulib-tool --create-testdir --dir="${TEST_DIR}" iconv
vs.
./gnulib-tool --create-testdir --dir="${TEST_DIR}" --without-tests iconv
and look at the dependencies of 'iconv-tests' ...
Bruno
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-03-26 20:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-26 16:00 Module dependencies Jeffrey Walton
2020-03-26 20:36 ` Bruno Haible
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).