mirror of
https://github.com/reactos/CMake.git
synced 2024-12-07 03:18:50 +00:00
49c8dcf7bb
Implement a brand new FindMatlab module: - Add support for versions and components. - Find Matlab and its version in a more precise and multiplatform way. - Add API to create a new mex extension with documentation. - Add API to add matlab unit tests (with or without the unit test framework). - Find as much as possible based on a single Matlab_ROOT_DIR cache entry and allow the user to change it to re-find everything.
17 lines
383 B
Matlab
17 lines
383 B
Matlab
|
|
classdef cmake_matlab_unit_tests_timeout < matlab.unittest.TestCase
|
|
% timeout tests
|
|
|
|
properties
|
|
end
|
|
|
|
methods (Test)
|
|
function testCallHangsShouldBeTimedOut(testCase)
|
|
cmake_matlab_mex1(rand(3,3));
|
|
disp('Will now wait.');
|
|
disp('Testing the cmake Matlab package timeout - do not kill');
|
|
pause(20); % supposed to be killed after 15s
|
|
end
|
|
end
|
|
end
|