summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris Down <chris@chrisdown.name>2022-01-13 07:40:56 +0000
committerGitHub <noreply@github.com>2022-01-13 07:40:56 +0000
commit9cc692d85c9ce84344ea7fee4b127755c6099a32 (patch)
treeeb758db9008ecfc5d2e9b487df784efa892fec0a /docs
parent86a0383c0617ff1d1ea47a526211bedc415c9d95 (diff)
downloadtox-git-master.tar.gz
venv: Do not fail for test commands that don't exist with "-" leader (#2316)master
Diffstat (limited to 'docs')
-rw-r--r--docs/changelog/2315.feature.rst2
-rw-r--r--docs/config.rst2
2 files changed, 3 insertions, 1 deletions
diff --git a/docs/changelog/2315.feature.rst b/docs/changelog/2315.feature.rst
new file mode 100644
index 00000000..65411d6b
--- /dev/null
+++ b/docs/changelog/2315.feature.rst
@@ -0,0 +1,2 @@
+Ignore missing commands if they are prefixed by ``-``
+-- by :user:`cdown`.
diff --git a/docs/config.rst b/docs/config.rst
index 231ccc05..8f277ffe 100644
--- a/docs/config.rst
+++ b/docs/config.rst
@@ -264,7 +264,7 @@ Complete list of settings that you can put into ``testenv*`` sections:
Commands will execute one by one in sequential fashion until one of them fails (their exit
code is non-zero) or all of them succeed. The exit code of a command may be ignored (meaning
- they are always considered successful) by prefixing the command with a dash (``-``) - this is
+ they are always considered successful even if they don't exist) by prefixing the command with a dash (``-``) - this is
similar to how ``make`` recipe lines work. The outcome of the environment is considered successful
only if all commands (these + setup + teardown) succeeded (exit code ignored via the
``-`` or success exit code value of zero).