Re: portability of docbook tests
Bill Deegan <bill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org> Wed, 29 May 2019 14:34:16 -0700
| Newsgroups | gmane.comp.programming.tools.scons.devel |
|---|---|
| Message-ID | <CAEyG4CGrye7_wVp+gb0YJQ+3p-=4D7uhpnL=3WZcxgkKutS-0g@mail.gmail.com> |
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 <[email protected]> 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 > [email protected] > https://pairlist2.pair.net/mailman/listinfo/scons-dev > _______________________________________________ Scons-dev mailing list [email protected] https://pairlist2.pair.net/mailman/listinfo/scons-dev