diff options
author | Craig Scott <craig.scott@crascit.com> | 2024-09-30 11:13:13 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2024-10-02 00:09:11 (GMT) |
commit | fc7aa3cd69eee1cdb001e6a28f36ddd01cefe720 (patch) | |
tree | 7e65266786f0db5d5ba66f9a95d58c756f408b09 /Help/manual | |
parent | 9f1703530bae90704cd4a096c14cfec4ab1e7cec (diff) | |
download | CMake-fc7aa3cd69eee1cdb001e6a28f36ddd01cefe720.zip CMake-fc7aa3cd69eee1cdb001e6a28f36ddd01cefe720.tar.gz CMake-fc7aa3cd69eee1cdb001e6a28f36ddd01cefe720.tar.bz2 |
tests: Preserve empty arguments in test command lines
This will now preserve empty values in the TEST_LAUNCHER and
CROSSCOMPILING_EMULATOR target properties for tests added by:
- The add_test() command.
- The ExternalData_Add_Test() command from the ExternalData module.
- The gtest_add_tests() or gtest_discover_tests() commands from the
GoogleTest module.
For the gtest_add_tests() and gtest_discover_tests() commands,
empty elements in the values passed after the EXTRA_ARGS keyword
are also now preserved.
Policy CMP0178 is added to provide backward compatibility with the
old behavior where empty values were silently discarded from the
above cases.
Fixes: #26337
Diffstat (limited to 'Help/manual')
-rw-r--r-- | Help/manual/cmake-policies.7.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Help/manual/cmake-policies.7.rst b/Help/manual/cmake-policies.7.rst index 3b97848..796ce8b 100644 --- a/Help/manual/cmake-policies.7.rst +++ b/Help/manual/cmake-policies.7.rst @@ -57,6 +57,7 @@ Policies Introduced by CMake 3.31 .. toctree:: :maxdepth: 1 + CMP0178: Test command lines preserve empty arguments. </policy/CMP0178> CMP0177: install() DESTINATION paths are normalized. </policy/CMP0177> CMP0176: execute_process() ENCODING is UTF-8 by default. </policy/CMP0176> CMP0175: add_custom_command() rejects invalid arguments. </policy/CMP0175> |