Mercurial > hgsubversion
annotate tox.ini @ 1541:adba152a5177
test_util: make developer warnings cause our tests to fail
Previously hgsubversion didn't get any help from develwarn calls,
because we don't use core's testrunner. The upstream configitem
refactor was easier to hunt down using the develwarn being a failure,
which prompted this code. It also exposed several locking correctness
bugs, so it feels like it's worth keeping around long term.
We don't bother with develwarn on anything so old that we don't try to
use smartset. The smartset deprecation was not handled gracefully, so
hg complains for many versions without actually breaking anything, and
it'd pointlessly complicate our code to handle smartset living in
multiple places between when the warning was introduced and the
present.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Sun, 29 Oct 2017 09:07:12 -0400 |
parents | fb0652923435 |
children | 08ea19b989c3 |
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] |
1531
fb0652923435
hg: prune old unsupported versions
Augie Fackler <raf@durin42.com>
parents:
1523
diff
changeset
|
2 envlist = hg37,hg38,hg39,hg40,hg41,hg42,hg43 |
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 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
|
8 hg38: Mercurial==3.8.3 |
1499
60690af283e5
tox: add more hg versions for testing
Augie Fackler <raf@durin42.com>
parents:
1486
diff
changeset
|
9 hg39: Mercurial==3.8.3 |
60690af283e5
tox: add more hg versions for testing
Augie Fackler <raf@durin42.com>
parents:
1486
diff
changeset
|
10 hg40: Mercurial==4.0.2 |
1523
83b28c179d19
tox: update hg version list
Augie Fackler <raf@durin42.com>
parents:
1500
diff
changeset
|
11 hg41: Mercurial==4.1.3 |
83b28c179d19
tox: update hg version list
Augie Fackler <raf@durin42.com>
parents:
1500
diff
changeset
|
12 hg42: Mercurial==4.2.2 |
83b28c179d19
tox: update hg version list
Augie Fackler <raf@durin42.com>
parents:
1500
diff
changeset
|
13 hg43: Mercurial==4.3.1 |
1486
be8f446f94e5
testing: add tox config to easily run tests against many hg versions
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
14 subvertpy |
be8f446f94e5
testing: add tox config to easily run tests against many hg versions
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
15 commands=nosetests {posargs} |