Skip to content
Snippets Groups Projects
Commit efa14b27 authored by Federico Felici's avatar Federico Felici
Browse files

Try/catch for test_expcodes.m

parent 202d904a
No related branches found
No related tags found
No related merge requests found
......@@ -33,10 +33,15 @@ classdef test_expcodes < matlab.unittest.TestCase
methods(Test)
function test_expcode(testCase)
% attempt compiling tcv.slx for this expcode
tcv([],[],[],'compile');
tcv([],[],[],'term');
try
tcv([],[],[],'compile');
tcv([],[],[],'term');
catch ME
tcv([],[],[],'term');
rethrow(ME)
end
testCase.assertTrue(true); % dummy
end
end
end
\ No newline at end of file
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment