annotate tox.ini @ 1501:6e3f48d8002f

tests: fix ipv6 support in test_push_command.py This test runs the `svnserve` binary, which appears to resolve the hostname passed as an argument using gethostbyname(3), which can only return an IPv4 address. When run on a system that is configured to only have an IPv6 address, Mercurial will correctly resolve the hostname to an IPv6 address, but the SVN server will be listening on an incorrect IPv4 address, causing the test to fail. The workaround is to resolve the hostname using getaddrinfo(3) in the test harness and pass the resulting address to svnserve.
author Arun Kulshreshtha <kulshrax@fb.com>
date Mon, 10 Apr 2017 16:58:28 -0700
parents f75c1d112793
children 83b28c179d19
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1486
be8f446f94e5 testing: add tox config to easily run tests against many hg versions
Augie Fackler <raf@durin42.com>
parents:
diff changeset
1 [tox]
1500
f75c1d112793 tox: give up on Mercurial older than 3.2
Augie Fackler <raf@durin42.com>
parents: 1499
diff changeset
2 envlist = hg32,hg33,hg34,hg35,hg36,hg37,hg38,hg39,hg40,hg41
1486
be8f446f94e5 testing: add tox config to easily run tests against many hg versions
Augie Fackler <raf@durin42.com>
parents:
diff changeset
3
be8f446f94e5 testing: add tox config to easily run tests against many hg versions
Augie Fackler <raf@durin42.com>
parents:
diff changeset
4 [testenv]
be8f446f94e5 testing: add tox config to easily run tests against many hg versions
Augie Fackler <raf@durin42.com>
parents:
diff changeset
5 deps=
be8f446f94e5 testing: add tox config to easily run tests against many hg versions
Augie Fackler <raf@durin42.com>
parents:
diff changeset
6 nose
be8f446f94e5 testing: add tox config to easily run tests against many hg versions
Augie Fackler <raf@durin42.com>
parents:
diff changeset
7 hg32: Mercurial==3.2.4
be8f446f94e5 testing: add tox config to easily run tests against many hg versions
Augie Fackler <raf@durin42.com>
parents:
diff changeset
8 hg33: Mercurial==3.3.3
be8f446f94e5 testing: add tox config to easily run tests against many hg versions
Augie Fackler <raf@durin42.com>
parents:
diff changeset
9 hg34: Mercurial==3.4.2
be8f446f94e5 testing: add tox config to easily run tests against many hg versions
Augie Fackler <raf@durin42.com>
parents:
diff changeset
10 hg35: Mercurial==3.5.2
be8f446f94e5 testing: add tox config to easily run tests against many hg versions
Augie Fackler <raf@durin42.com>
parents:
diff changeset
11 hg36: Mercurial==3.6.3
be8f446f94e5 testing: add tox config to easily run tests against many hg versions
Augie Fackler <raf@durin42.com>
parents:
diff changeset
12 hg37: Mercurial==3.7.3
be8f446f94e5 testing: add tox config to easily run tests against many hg versions
Augie Fackler <raf@durin42.com>
parents:
diff changeset
13 hg38: Mercurial==3.8.3
1499
60690af283e5 tox: add more hg versions for testing
Augie Fackler <raf@durin42.com>
parents: 1486
diff changeset
14 hg39: Mercurial==3.8.3
60690af283e5 tox: add more hg versions for testing
Augie Fackler <raf@durin42.com>
parents: 1486
diff changeset
15 hg40: Mercurial==4.0.2
60690af283e5 tox: add more hg versions for testing
Augie Fackler <raf@durin42.com>
parents: 1486
diff changeset
16 hg41: Mercurial==4.1
1486
be8f446f94e5 testing: add tox config to easily run tests against many hg versions
Augie Fackler <raf@durin42.com>
parents:
diff changeset
17 subvertpy
be8f446f94e5 testing: add tox config to easily run tests against many hg versions
Augie Fackler <raf@durin42.com>
parents:
diff changeset
18 commands=nosetests {posargs}