diff options
author | friendlyanon <friendlyanon_@hotmail.com> | 2022-12-30 14:11:17 (GMT) |
---|---|---|
committer | friendlyanon <friendlyanon_@hotmail.com> | 2023-01-13 12:33:39 (GMT) |
commit | 0661de58d845f537d070979f9b49dd05800a141e (patch) | |
tree | 84c9440a94d8755584c32c18b57cf51e5430d391 /Help/envvar | |
parent | bb52a1781a6eb29bce3c4847b9fc882dd198467a (diff) | |
download | CMake-0661de58d845f537d070979f9b49dd05800a141e.zip CMake-0661de58d845f537d070979f9b49dd05800a141e.tar.gz CMake-0661de58d845f537d070979f9b49dd05800a141e.tar.bz2 |
ctest(1): Add CTEST_NO_TESTS_ACTION env var
This environment variable provides a default value for the
--no-tests=<action> command line argument.
Diffstat (limited to 'Help/envvar')
-rw-r--r-- | Help/envvar/CTEST_NO_TESTS_ACTION.rst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Help/envvar/CTEST_NO_TESTS_ACTION.rst b/Help/envvar/CTEST_NO_TESTS_ACTION.rst new file mode 100644 index 0000000..2bc86dc --- /dev/null +++ b/Help/envvar/CTEST_NO_TESTS_ACTION.rst @@ -0,0 +1,14 @@ +CTEST_NO_TESTS_ACTION +--------------------- + +.. versionadded:: 3.26 + +.. include:: ENV_VAR.txt + +Environment variable that controls how :manual:`ctest <ctest(1)>` handles +cases when there are no tests to run. Possible values are: ``error``, +``ignore``, empty or unset. + +The :option:`--no-tests=\<action\> <ctest --no-tests>` option to +:manual:`ctest <ctest(1)>` overrides this environment variable if both +are given. |