[LTP] [PATCH 1/1] configure.ac: Fix summary for disabled metadata

Cyril Hrubis chrubis@suse.cz
Fri Jan 14 15:23:19 CET 2022


Hi!
> >> Previously with --disable-metadata output didn't mention that metadata
> >> are disabled and printed config which was not used. Now:
> >>
> >> $ ./configure --disable-metadata
> > 
> > Slightly off topic, should we rename this to --disable-docparse or
> > --disable-autodoc?
> > 
> > Since we split the metadata generator from the documentation and the
> > metadata are now genereated unconditionally...
> > 
> 
> I would love that and I would reintroduce disable-metadata in that case,
> to completely disable it.
> The question is: Will this break some builds because of semantic changes?

The JSON metadata file is going to replace the runtest files some day,
at least that is the longterm plan. Also the parser that extracts the
metadata from the sources is rather fast, compared to the LTP build and
it's self contained. There is really no reason to have a switch to
disable the metadat extraction step.

The documentation build, on the other hand, is rather slow and requires
asciidoc, which is the reason why there is a switch that can be used to
disable that. The only problem here is that the name is a bit confusing
now.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list