summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2019-10-01 06:45:13 -0400
committerNed Batchelder <ned@nedbatchelder.com>2019-10-01 06:45:13 -0400
commit1f876d049a20fa04c76dcef42562de1d1f43e3af (patch)
treefae1ae974b8adafccd7a54bb5afe21418792fcf4
parent69c519c42f0818e0020b88ccfc46b30f3b4f7775 (diff)
downloadpython-coveragepy-git-1f876d049a20fa04c76dcef42562de1d1f43e3af.tar.gz
Subprocesses only use config file options
-rw-r--r--doc/subprocess.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/subprocess.rst b/doc/subprocess.rst
index 06068959..34d7f5ba 100644
--- a/doc/subprocess.rst
+++ b/doc/subprocess.rst
@@ -22,6 +22,10 @@ examines the ``COVERAGE_PROCESS_START`` environment variable, and if it is set,
begins coverage measurement. The environment variable's value will be used as
the name of the :ref:`configuration file <config>` to use.
+.. note::
+ The subprocess only sees options in the configuration file. Options set on
+ the command line will not be used in the subprocesses.
+
When using this technique, be sure to set the parallel option to true so that
multiple coverage.py runs will each write their data to a distinct file.