Re: Make check with different client and server versions
From: Julian Foad <julianfoad_at_apache.org>
Date: Mon, 14 Oct 2019 16:33:53 +0100
+1. I'd like to support us doing this.
Nathan Hartman wrote:
As a starting point, for each client version to be tested, the new
* Run the regression test suite that is supplied with that client
* Tell the test suite ("make check") which server version to expect.
This is partly done: the Python and C tests take an argument
--server-minor-version
or, for the C tests, docs apparently not updated recently:
I'm not sure exactly how one sets up the server appropriately, before
Ideally, later, the tests should also be divided or tagged so we can
> (1) Which versions are we interested in cross-testing in this manner?
Start with a simple fixed set, such as
- (client: trunk, server: 1.10)
Review later, once that's working.
(I suggested 1.10 there because it's the most recent LTS version, but
> (2) How do we handle differences between versions?
Annotate the tests according to what server versions they require.
This is at least partly done. The test suite already uses conditionals like
if svntest.main.options.server_minor_version < 9:
I'm not sure if this is already done everywhere it needs to be. I would
@SkipUnless(server_authz_has_aliases)
using "server_minor_version" but I don't see any.
> (3) How do we handle dependencies?
Initially: whatever works. Probably neatest to install the dependencies
- Julian
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.