Browse Source

Help: The old add_test() form does not support TEST_LAUNCHER

Extend commit 1ec0372ed4 (add_test: Optionally use a launcher for tests
running in-project targets, 2023-11-11, v3.29.0-rc1~237^2~1).

Fixes: #27083
Ralf Habacker 5 months ago
parent
commit
b3f2455862

+ 2 - 1
Help/command/add_test.rst

@@ -114,4 +114,5 @@ Add a test called ``<name>`` with the given command-line.
 Unlike the above ``NAME`` signature, target names are not supported
 in the command-line.  Furthermore, tests added with this signature do not
 support :manual:`generator expressions <cmake-generator-expressions(7)>`
-in the command-line or test properties.
+in the command-line or test properties, and the :prop_tgt:`TEST_LAUNCHER`
+and :prop_tgt:`CROSSCOMPILING_EMULATOR` target properties are not supported.

+ 3 - 0
Help/prop_tgt/CROSSCOMPILING_EMULATOR.rst

@@ -20,3 +20,6 @@ for built target system executables.
 This property is initialized by the value of the
 :variable:`CMAKE_CROSSCOMPILING_EMULATOR` variable if it is set when a target
 is created.
+
+This property is not supported when using the old form of :command:`add_test`
+(i.e. without the ``NAME`` and ``COMMAND`` keywords).

+ 3 - 0
Help/prop_tgt/TEST_LAUNCHER.rst

@@ -21,3 +21,6 @@ Contents of ``TEST_LAUNCHER`` may use
 This property is initialized by the value of the
 :variable:`CMAKE_TEST_LAUNCHER` variable if it is set when a target
 is created.
+
+This property is not supported when using the old form of :command:`add_test`
+(i.e. without the ``NAME`` and ``COMMAND`` keywords).