[Scons-dev] portability of docbook tests

Bill Deegan bill at baddogconsulting.com
Wed May 29 17:34:16 EDT 2019


Which files in SCons are you referring to?
Possibly stick some logic in the test framework to find the "Home" of the
docbook stylesheets?


On Wed, May 29, 2019 at 1:06 PM Mats Wichmann <mats at wichmann.us> wrote:

>
> Just tossing this out here in case anybody has any ideas.  It's not a
> big thing, but has led to a bunch of test skips on my own systems, which
> don't run Ubuntu, ever since I've been running tests, and every now and
> then it irritates me enough to give it a bit of a thought.
>
> A subset of the docbook tests use xsl:import to bring in stylesheets.
> But the paths to them are hardcoded, and only correct for Ubuntu
> (probably inherited from Debian and shared with other relatives like
> Mint), not for other Linux distributions, and certainly not for Windows:
>
> basedir/htmlchunked/image/html.xsl:     <xsl:import
>
> href="file:///usr/share/xml/docbook/stylesheet/docbook-xsl/html/chunkfast.xsl"/>
>
> basedir/htmlhelp/image/htmlhelp.xsl:    <xsl:import
>
> href="file:///usr/share/xml/docbook/stylesheet/docbook-xsl/htmlhelp/htmlhelp.xsl"/>
>
> basedir/slideshtml/image/slides.xsl:    <xsl:import
>
> href="file:///usr/share/xml/docbook/stylesheet/docbook-xsl/slides/html/plain.xsl"/>
>
> rootname/htmlchunked/image/html.xsl:    <xsl:import
>
> href="file:///usr/share/xml/docbook/stylesheet/docbook-xsl/html/chunkfast.xsl"/>
>
> rootname/htmlhelp/image/htmlhelp.xsl:   <xsl:import
>
> href="file:///usr/share/xml/docbook/stylesheet/docbook-xsl/htmlhelp/htmlhelp.xsl"/>
>
> rootname/slideshtml/image/slides.xsl:   <xsl:import
>
> href="file:///usr/share/xml/docbook/stylesheet/docbook-xsl/slides/html/plain.xsl"/>
>
>
>
> any thoughts on how one might make these more "portable" and not just
> tied to one particular filesystem layout?
>
>
> _______________________________________________
> Scons-dev mailing list
> Scons-dev at scons.org
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20190529/5a415615/attachment.html>


More information about the Scons-dev mailing list