summaryrefslogtreecommitdiff
path: root/tox/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'tox/config.py')
-rw-r--r--tox/config.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tox/config.py b/tox/config.py
index 3f4c8af..40c6e0a 100644
--- a/tox/config.py
+++ b/tox/config.py
@@ -476,6 +476,11 @@ def tox_addoption(parser):
name="commands", type="argvlist", default="",
help="each line specifies a test command and can use substitution.")
+ parser.add_testenv_attribute(
+ "ignore_outcome", type="bool", default=False,
+ help="if set to True a failing result of this testenv will not make "
+ "tox fail, only a warning will be produced")
+
class Config(object):
""" Global Tox config object. """