diff options
author | Clemens Buchacher <clemens.buchacher@iis.fraunhofer.de> | 2017-02-24 15:05:05 (GMT) |
---|---|---|
committer | Raffi Enficiaud <raffi.enficiaud@free.fr> | 2018-04-09 19:42:18 (GMT) |
commit | 44c916b4c831f1e81d3cc686ddb030e363b7e90b (patch) | |
tree | 50fdffe1a52d54b32a3aea748d283ccd5073830a /Source/cmTryCompileCommand.cxx | |
parent | 23a450044d4d5b3cb314085daf8c42e657b4e132 (diff) | |
download | CMake-44c916b4c831f1e81d3cc686ddb030e363b7e90b.zip CMake-44c916b4c831f1e81d3cc686ddb030e363b7e90b.tar.gz CMake-44c916b4c831f1e81d3cc686ddb030e363b7e90b.tar.bz2 |
FindMatlab: always handle uncaught exception
If runtests('$unittest_file') throws an exception it is ignored. It is
easy to produce such an exception by passing a nonexistent file as
UNITTEST_FILE.
We already handle exceptions if the option NO_UNITTEST_FRAMEWORK is set.
Use the same method to handle exceptions thrown by runtests or by a
custom_Matlab_test_command.
Fixes #16660.
Diffstat (limited to 'Source/cmTryCompileCommand.cxx')
0 files changed, 0 insertions, 0 deletions