diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/changelog/2315.feature.rst | 2 | ||||
| -rw-r--r-- | docs/config.rst | 2 |
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). |
