Skip to content

In parallel mode, tox marks skipped interpreters as succeded. #1495

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
awecx opened this issue Jan 12, 2020 · 1 comment
Closed

In parallel mode, tox marks skipped interpreters as succeded. #1495

awecx opened this issue Jan 12, 2020 · 1 comment
Labels
bug:normal affects many people or has quite an impact

Comments

@awecx
Copy link

awecx commented Jan 12, 2020

Say I have no Python3.3 interpreter on my machine.
The following tox.ini:

[tox]
envlist = py33
skip_missing_interpreters = True

would of course yield:

python3 -m tox
GLOB sdist-make: /xxx/yyy/setup.py
py33 recreate: /xxx/yyy/.tox/py33
SKIPPED: InterpreterNotFound: python3.3
__________________________________________________________________ summary ___________________________________________________________________
SKIPPED:  py33: InterpreterNotFound: python3.3

but when run in parallel, we get:

python3 -m tox -p auto
GLOB sdist-make: /xxx/yyy/setup.py
✔ OK py33 in 0.22 seconds
__________________________________________________________________ summary ___________________________________________________________________
  py33: commands succeeded
  congratulations :)

That could make a user to think that his tests are green while they simply … did not run.
Tested with tox 3.14.3.

@awecx awecx added the bug:normal affects many people or has quite an impact label Jan 12, 2020
@rpkilby
Copy link
Member

rpkilby commented Jan 12, 2020

Duplicate of #1274.

@rpkilby rpkilby closed this as completed Jan 12, 2020
@tox-dev tox-dev locked and limited conversation to collaborators Jan 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug:normal affects many people or has quite an impact
Projects
None yet
Development

No branches or pull requests

2 participants