Summary: | dev-python/tox-1.4 completion request | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ian Delaney (RETIRED) <idella4> |
Component: | [OLD] Library | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
ebuild patch
files/ patch |
Description
Ian Delaney (RETIRED)
![]() Created attachment 316467 [details, diff]
files/ patch
archtester tox # USE_PYTHON="2.5 2.6 2.7 3.1 3.2" ebuild tox-1.4.1.ebuild clean test * Testing of dev-python/tox-1.4.1 with CPython 2.5... ============== 110 passed, 2 xfailed, 4 xpassed in 75.91 seconds =============== * Testing of dev-python/tox-1.4.1 with CPython 2.6... ============== 111 passed, 2 xfailed, 3 xpassed in 78.60 seconds =============== * Testing of dev-python/tox-1.4.1 with CPython 2.7... ============== 111 passed, 2 xfailed, 3 xpassed in 81.88 seconds =============== * Testing of dev-python/tox-1.4.1 with CPython 3.1... ============== 111 passed, 2 xfailed, 3 xpassed in 111.17 seconds ============== * Testing of dev-python/tox-1.4.1 with CPython 3.2... ============== 111 passed, 2 xfailed, 3 xpassed in 113.12 seconds ============== The line I initially entered to weed out pypy is not being read and therefore tripped over by pythons 2.5 2.6 3.1 and some instances of 3.2. The code I had pointed to a serial attribute belonging to pypy. The cpythons list the attributes in a tuple but have the atrribute names. I simply replaced the code with content that does the same test but doesn't present attributes that are absent in the other cpython versions. Doesn't warrant a whole new patch. Just do a replace of "sys.version_info.serial > 0" with "42 in sys.version_info" in the files/rm_version_test.patch or however it is named 31 Oct 2012; <idella4@gentoo.org> +files/tox-1.4.2-rm_version_test.patch, tox-1.4.2.ebuild: Added patch to xfail flawed tests, added doc use flag $ USE_PYTHON="2.5 2.6 2.7 3.1 3.2" ebuild tox-1.4.2.ebuild clean test * Testing of dev-python/tox-1.4.2 with CPython 2.5... ============== 110 passed, 1 xfailed, 5 xpassed in 64.46 seconds =============== * Testing of dev-python/tox-1.4.2 with CPython 2.6... ============== 111 passed, 1 xfailed, 4 xpassed in 68.26 seconds =============== * Testing of dev-python/tox-1.4.2 with CPython 2.7... ============== 111 passed, 1 xfailed, 4 xpassed in 66.87 seconds =============== * Testing of dev-python/tox-1.4.2 with CPython 3.1... ============== 111 passed, 1 xfailed, 4 xpassed in 98.13 seconds =============== * Testing of dev-python/tox-1.4.2 with CPython 3.2... t============== 111 passed, 1 xfailed, 4 xpassed in 100.19 seconds ============== |