diff --git a/Modules/CetTest.cmake b/Modules/CetTest.cmake index ce36e599..c100bb91 100644 --- a/Modules/CetTest.cmake +++ b/Modules/CetTest.cmake @@ -735,7 +735,7 @@ endfunction() Clear the test environment in the current directory scope prior to setting ``=``, including any environment modifications. - .. seealso:: :command:`cet_test_prepend_env`, + .. seealso:: :command:`cet_test_env_prepend`, :variable:`CET_TEST_ENV_MODIFICATION`. Details @@ -803,21 +803,21 @@ function(cet_test_env_mod VAR OP) endfunction() #[================================================================[.rst: -.. command:: cet_test_prepend_env +.. command:: cet_test_env_prepend Prepend to path-like environment variables in the test environment for tests defined in and below the current directory. .. code-block:: cmake - cet_test_prepend_env( ...) + cet_test_env_prepend( ...) Functionally identical to :command:`cet_test_env_mod( path_list_prepend ...) ` #]================================================================] -function(cet_test_prepend_env CET_ENV_VAR) +function(cet_test_env_prepend CET_ENV_VAR) cet_test_env_mod(${CET_ENV_VAR} path_list_prepend ${ARGN}) set(CET_TEST_ENV_MODIFICATION "${CET_TEST_ENV_MODIFICATION}" PARENT_SCOPE) endfunction() diff --git a/doc/reference/manual/cetmodules-commands.7.rst b/doc/reference/manual/cetmodules-commands.7.rst index 7ce4a835..d77ed134 100644 --- a/doc/reference/manual/cetmodules-commands.7.rst +++ b/doc/reference/manual/cetmodules-commands.7.rst @@ -65,7 +65,7 @@ Utility * :command:`cet_test_assertion` * :command:`cet_test_env` * :command:`cet_test_env_mod` -* :command:`cet_test_prepend_env` +* :command:`cet_test_env_prepend` * :command:`cet_timestamp` * :command:`cet_version_cmp` * :command:`parse_version_string` diff --git a/doc/reference/variable/CET_TEST_ENV.rst b/doc/reference/variable/CET_TEST_ENV.rst index c65500a3..be87de25 100644 --- a/doc/reference/variable/CET_TEST_ENV.rst +++ b/doc/reference/variable/CET_TEST_ENV.rst @@ -6,5 +6,5 @@ A directory-scope variable containing an initial value of the property for tests defined by :command:`cet_test`. Modify with :command:`cet_test_env`. -.. seealso:: :command:`cet_test_prepend_env`, +.. seealso:: :command:`cet_test_env_prepend`, :variable:`CET_TEST_ENV_MODIFICATION`. diff --git a/doc/reference/variable/CET_TEST_ENV_MODIFICATION.rst b/doc/reference/variable/CET_TEST_ENV_MODIFICATION.rst index af81a084..1f26a6de 100644 --- a/doc/reference/variable/CET_TEST_ENV_MODIFICATION.rst +++ b/doc/reference/variable/CET_TEST_ENV_MODIFICATION.rst @@ -5,6 +5,6 @@ A directory-scope variable containing an initial value of the :prop_test:`ENVIRONMENT_MODIFICATION ` property for tests defined by :command:`cet_test`. Modify with -:command:`cet_test_prepend_env`. +:command:`cet_test_env_prepend`. .. seealso:: :command:`cet_test_env`, :variable:`CET_TEST_ENV`.