Suraj Barkale wrote:
> I checked out subversion trunk and added library dependencies. The
> build went smoothly but tests began to fail. At first culprit was BDB
> & OpenSSL dlls were not copied to output directory which was easy to
Yeah, I guess that's my bad -- most people have those in their path,
since they have the Subversion binaries in their path, too.
However, those DLLs should be copied to the root of the test tree, like
the APR DLLs, not to the build output directory; I hope that's what you
mean, I haven't time to look at the commits right this minute.
> Copying the dlls fixed C test cases but Python test cases were
> still failing. After looking into INSTALL, I found that you need to
> copy 'cmdline' directory to build directory because locations of
> executables were hardcoded in 'svntest/main.py'.
I have no idea who wrote that and why, as it simply isn't true. The
python tests should always run from the source tree.
The Python tests do expect a certain structure to exist. I've always
tested outside the source tree (that is, the test /data/ were outside
the source tree), so maybe in-tree tests don't work because part of the
structure that's created with out-of-tree tests is missing.
> This patch also adds a command line option to 'svntest/main.py' to
> specify location of build directory eliminating the need to copy
> cmdline directory.
Since copying the cmdline directory was never necessary, this option
> I have built subversion for the first time so I don't know if I am
> doing something wrong.
For now, I suggest you test outside the source tree, as that's
guaranteed to work.
To clarify: you have to run win-tests.py from the source tree, that is,
your current directory must be the top of the working copy; then you
tell win-tests.py where to put your test output.
> Thanks & Regards,
> On 1/8/07, Branko Čibej <email@example.com> wrote:
>> Suraj Barkale wrote:
>> > Can anybody please test this patch?
>> Sorry but I don't understand what you're trying to fix. Exactly how does
>> win-tests.py not work out of the box? It's been working for me for ages.
>> -- Brane
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
Received on Mon Jan 8 12:34:17 2007