Re: QT3 tests: EXPath tests

John,

I see; thanks for the swift reply!

Christian


On Wed, Jan 28, 2015 at 2:33 PM, John Lumley <john@saxonica.com> wrote:
> Christian,
>
> I'll have a look at the implications, but it won't be until about Feb 10th
> or so. I'm not going to be in Prague, but Mike and O'Neil will be, so if
> you're there you might be able to discuss with them
>
> John
>
> On 28/01/2015 13:28, Christian Grün wrote:
>
> Hi John, hi O'Neil,
>
> Would it be possible to rewrite the Saxon test driver such that the
> "current working directory" is the directory from which the tests are
> started, and not one that is different for a particular EXPath module?
>
> In particular, this would mean that the sandpit directories would need
> to be moved up one directory in the tests. The current structure looks
> as follows:
>
>   archive
>   - sandpit
>   file
>   - sandpit
>
> I would propose the following structure:
>
>   sandpit
>   - archive
>   - file
>
> The reason for this change request is that we didn't anticipate a
> programmatic change of the current working directory. The solutions
> for this I have found for Java are generally regarded as hacks [1].
>
> What do you think? I'd be happy to update the existing tests.
> Christian
>
> [1]
> http://stackoverflow.com/questions/840190/changing-the-current-working-directory-in-java
>
>
>
> --
> John Lumley MA PhD CEng FIEE
> john@saxonica.com
> on behalf of Saxonica Ltd

Received on Wednesday, 28 January 2015 13:41:44 UTC