19 lines
240 B
Matlab
19 lines
240 B
Matlab
% runtests.m
|
|
|
|
% MATLAB runs the test
|
|
try
|
|
update_mex;
|
|
catch ME
|
|
report = getReport(ME)
|
|
disp(report);
|
|
exit_code = 1;
|
|
end
|
|
|
|
if ~exist('exit_code','var')
|
|
exit_code = 0;
|
|
end
|
|
|
|
% Ensure that we ALWAYS call exit
|
|
exit(exit_code);
|
|
|