diff options
author | Raffi Enficiaud <raffi.enficiaud@mines-paris.org> | 2017-07-27 19:29:11 (GMT) |
---|---|---|
committer | Raffi Enficiaud <raffi.enficiaud@mines-paris.org> | 2017-07-27 19:35:16 (GMT) |
commit | 5a9c4aeb9a82eb141fd8cdac1fb3a8eea194fea5 (patch) | |
tree | 459b60541e569b04da301af98fd36396b5ff3bb9 | |
parent | ba184cefcd5941701237331251cfc8df6aa5563e (diff) | |
download | CMake-5a9c4aeb9a82eb141fd8cdac1fb3a8eea194fea5.zip CMake-5a9c4aeb9a82eb141fd8cdac1fb3a8eea194fea5.tar.gz CMake-5a9c4aeb9a82eb141fd8cdac1fb3a8eea194fea5.tar.bz2 |
FindMatlab: CUSTOM_TEST_COMMAND documentation fix
Documentation states CUSTOM_MATLAB_COMMAND, while code uses CUSTOM_TEST_COMMAND.
Addresses issue #17107
-rw-r--r-- | Modules/FindMatlab.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindMatlab.cmake b/Modules/FindMatlab.cmake index 80bcda3..cd8246d 100644 --- a/Modules/FindMatlab.cmake +++ b/Modules/FindMatlab.cmake @@ -721,7 +721,7 @@ endfunction() # matlab_add_unit_test( # NAME <name> # UNITTEST_FILE matlab_file_containing_unittest.m -# [CUSTOM_MATLAB_COMMAND matlab_command_to_run_as_test] +# [CUSTOM_TEST_COMMAND matlab_command_to_run_as_test] # [UNITTEST_PRECOMMAND matlab_command_to_run] # [TIMEOUT timeout] # [ADDITIONAL_PATH path1 [path2 ...]] @@ -737,7 +737,7 @@ endfunction() # ``UNITTEST_FILE`` # the matlab unittest file. Its path will be automatically # added to the Matlab path. -# ``CUSTOM_MATLAB_COMMAND`` +# ``CUSTOM_TEST_COMMAND`` # Matlab script command to run as the test. # If this is not set, then the following is run: # ``runtests('matlab_file_name'), exit(max([ans(1,:).Failed]))`` |