summaryrefslogtreecommitdiff
path: root/tox/venv.py
diff options
context:
space:
mode:
authorRebecka Gulliksson <rebecka.gulliksson@umu.se>2015-08-24 12:57:09 +0200
committerRebecka Gulliksson <rebecka.gulliksson@umu.se>2015-08-24 12:57:09 +0200
commita92dc9d0877fb3bd4c39671af6fd36018bfc23b0 (patch)
treeb40b6cff6c223e169fcf48604d47114128420fb2 /tox/venv.py
parent49353a0c473ba0bf61f9a027a96a6689eb50f6d5 (diff)
downloadtox-a92dc9d0877fb3bd4c39671af6fd36018bfc23b0.tar.gz
Renamed testenv attribute from 'voting' to 'ignore_outcome'.
Diffstat (limited to 'tox/venv.py')
-rw-r--r--tox/venv.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/tox/venv.py b/tox/venv.py
index 75d5dfd..eaa555a 100644
--- a/tox/venv.py
+++ b/tox/venv.py
@@ -351,13 +351,12 @@ class VirtualEnv(object):
self._pcall(argv, cwd=cwd, action=action, redirect=redirect,
ignore_ret=ignore_ret, testcommand=True)
except tox.exception.InvocationError as err:
- if not self.envconfig.voting:
+ if self.envconfig.ignore_outcome:
self.session.report.warning(
- "command failed, but testenv is marked "
- "non-voting.\n"
+ "command failed but result from testenv is ignored\n"
" cmd: %s" % (str(err),))
- self.status = "non-voting fail"
- continue # keep processing commands
+ self.status = "ignored failed command"
+ continue # keep processing commands
self.session.report.error(str(err))
self.status = "commands failed"