Re: [Scons-dev] portability of docbook tests

2019-05-29 Thread Bill Deegan
o.k. probably worth moving locations to test infrastructure and makeing a
call to check for skips and provide the location for inclusion the file?

On Wed, May 29, 2019 at 3:33 PM Mats Wichmann  wrote:

> On 5/29/19 4:26 PM, Bill Deegan wrote:
> > Which tests use those?
> >
> > On Wed, May 29, 2019 at 2:43 PM Mats Wichmann  > > wrote:
> >
> > On 5/29/19 3:34 PM, Bill Deegan wrote:
> > > Which files in SCons are you referring to?
> >
> > the paths were partially in my message - missing the prefix
> > test/Docbook, so to pick one and complete it:
> >
> > test/Docbook/basedir/htmlchunked/image/html.xsl
>
> these are the skips due to tests that check for the files at specific
> paths, checks that were presumably added because tests otherwise failed
> on some platform.
>
>
> test/Docbook/basedir/htmlchunked/htmlchunked.py
> test/Docbook/basedir/htmlchunked/htmlchunked_cmd.py
> test/Docbook/basedir/htmlhelp/htmlhelp.py
> test/Docbook/basedir/htmlhelp/htmlhelp_cmd.py
> test/Docbook/basedir/slideshtml/slideshtml.py
> test/Docbook/basedir/slideshtml/slideshtml_cmd.py
> test/Docbook/basic/slideshtml/slideshtml.py
> test/Docbook/basic/slideshtml/slideshtml_cmd.py
> test/Docbook/rootname/htmlchunked/htmlchunked.py
> test/Docbook/rootname/htmlhelp/htmlhelp.py
> test/Docbook/rootname/slideshtml/slideshtml.py
>
> ___
> Scons-dev mailing list
> Scons-dev@scons.org
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
___
Scons-dev mailing list
Scons-dev@scons.org
https://pairlist2.pair.net/mailman/listinfo/scons-dev


Re: [Scons-dev] portability of docbook tests

2019-05-29 Thread Mats Wichmann
On 5/29/19 4:26 PM, Bill Deegan wrote:
> Which tests use those?
> 
> On Wed, May 29, 2019 at 2:43 PM Mats Wichmann  > wrote:
> 
> On 5/29/19 3:34 PM, Bill Deegan wrote:
> > Which files in SCons are you referring to?
> 
> the paths were partially in my message - missing the prefix
> test/Docbook, so to pick one and complete it:
> 
> test/Docbook/basedir/htmlchunked/image/html.xsl

these are the skips due to tests that check for the files at specific
paths, checks that were presumably added because tests otherwise failed
on some platform.


test/Docbook/basedir/htmlchunked/htmlchunked.py
test/Docbook/basedir/htmlchunked/htmlchunked_cmd.py
test/Docbook/basedir/htmlhelp/htmlhelp.py
test/Docbook/basedir/htmlhelp/htmlhelp_cmd.py
test/Docbook/basedir/slideshtml/slideshtml.py
test/Docbook/basedir/slideshtml/slideshtml_cmd.py
test/Docbook/basic/slideshtml/slideshtml.py
test/Docbook/basic/slideshtml/slideshtml_cmd.py
test/Docbook/rootname/htmlchunked/htmlchunked.py
test/Docbook/rootname/htmlhelp/htmlhelp.py
test/Docbook/rootname/slideshtml/slideshtml.py

___
Scons-dev mailing list
Scons-dev@scons.org
https://pairlist2.pair.net/mailman/listinfo/scons-dev


Re: [Scons-dev] portability of docbook tests

2019-05-29 Thread Bill Deegan
Which tests use those?

On Wed, May 29, 2019 at 2:43 PM Mats Wichmann  wrote:

> On 5/29/19 3:34 PM, Bill Deegan wrote:
> > Which files in SCons are you referring to?
>
> the paths were partially in my message - missing the prefix
> test/Docbook, so to pick one and complete it:
>
> test/Docbook/basedir/htmlchunked/image/html.xsl
> ___
> Scons-dev mailing list
> Scons-dev@scons.org
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
___
Scons-dev mailing list
Scons-dev@scons.org
https://pairlist2.pair.net/mailman/listinfo/scons-dev


Re: [Scons-dev] portability of docbook tests

2019-05-29 Thread Mats Wichmann
On 5/29/19 3:34 PM, Bill Deegan wrote:
> Which files in SCons are you referring to?

the paths were partially in my message - missing the prefix
test/Docbook, so to pick one and complete it:

test/Docbook/basedir/htmlchunked/image/html.xsl
___
Scons-dev mailing list
Scons-dev@scons.org
https://pairlist2.pair.net/mailman/listinfo/scons-dev


Re: [Scons-dev] portability of docbook tests

2019-05-29 Thread Bill Deegan
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  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: 
> href="file:///usr/share/xml/docbook/stylesheet/docbook-xsl/html/chunkfast.xsl"/>
>
> basedir/htmlhelp/image/htmlhelp.xsl:
> href="file:///usr/share/xml/docbook/stylesheet/docbook-xsl/htmlhelp/htmlhelp.xsl"/>
>
> basedir/slideshtml/image/slides.xsl:
> href="file:///usr/share/xml/docbook/stylesheet/docbook-xsl/slides/html/plain.xsl"/>
>
> rootname/htmlchunked/image/html.xsl:
> href="file:///usr/share/xml/docbook/stylesheet/docbook-xsl/html/chunkfast.xsl"/>
>
> rootname/htmlhelp/image/htmlhelp.xsl:   
> href="file:///usr/share/xml/docbook/stylesheet/docbook-xsl/htmlhelp/htmlhelp.xsl"/>
>
> rootname/slideshtml/image/slides.xsl:   
> 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@scons.org
> https://pairlist2.pair.net/mailman/listinfo/scons-dev
>
___
Scons-dev mailing list
Scons-dev@scons.org
https://pairlist2.pair.net/mailman/listinfo/scons-dev


[Scons-dev] portability of docbook tests

2019-05-29 Thread Mats Wichmann


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: 

basedir/htmlhelp/image/htmlhelp.xsl:

basedir/slideshtml/image/slides.xsl:

rootname/htmlchunked/image/html.xsl:

rootname/htmlhelp/image/htmlhelp.xsl:   

rootname/slideshtml/image/slides.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@scons.org
https://pairlist2.pair.net/mailman/listinfo/scons-dev