mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-20 21:40:15 +08:00
Help: Clarify that ENVIRONMENT test properties take ;-separated lists
Follow up commit 79f64cc773
(Help: ENVIRONMENT_MODIFICATION clarify only
supports singular values, 2022-02-23) to specifically call out the list
format.
Issue: #23315
This commit is contained in:
@@ -3,7 +3,7 @@ ENVIRONMENT
|
|||||||
|
|
||||||
Specify environment variables that should be defined for running a test.
|
Specify environment variables that should be defined for running a test.
|
||||||
|
|
||||||
If set to a list of environment variables and values of the form
|
Set to a :ref:`semicolon-separated list <CMake Language Lists>` list
|
||||||
``MYVAR=value`` those environment variables will be defined while running
|
of environment variables and values of the form ``MYVAR=value``.
|
||||||
the test. The environment changes from this property do not affect other
|
Those environment variables will be defined while running the test.
|
||||||
tests.
|
The environment changes from this property do not affect other tests.
|
||||||
|
@@ -7,10 +7,11 @@ Specify environment variables that should be modified for running a test. Note
|
|||||||
that the operations performed by this property are performed after the
|
that the operations performed by this property are performed after the
|
||||||
:prop_test:`ENVIRONMENT` property is already applied.
|
:prop_test:`ENVIRONMENT` property is already applied.
|
||||||
|
|
||||||
If set to a list of environment variables and values of the form
|
Set to a :ref:`semicolon-separated list <CMake Language Lists>` of
|
||||||
``MYVAR=OP:VALUE``, where ``MYVAR`` is the case-sensitive name of an
|
environment variables and values of the form ``MYVAR=OP:VALUE``,
|
||||||
environment variable to be modified. Entries are considered in the
|
where ``MYVAR`` is the case-sensitive name of an environment variable
|
||||||
order specified in the property's value. The ``OP`` may be one of:
|
to be modified. Entries are considered in the order specified in the
|
||||||
|
property's value. The ``OP`` may be one of:
|
||||||
|
|
||||||
- ``reset``: Reset to the unmodified value, ignoring all modifications to
|
- ``reset``: Reset to the unmodified value, ignoring all modifications to
|
||||||
``MYVAR`` prior to this entry. Note that this will reset the variable to
|
``MYVAR`` prior to this entry. Note that this will reset the variable to
|
||||||
|
Reference in New Issue
Block a user