CI: skip two further tests under MATLAB R2009b, that apparently trigger a MATLAB bug

time-shift
Sébastien Villemot 2020-01-24 16:40:16 +01:00
parent b49e2203d6
commit 01d5d734c6
No known key found for this signature in database
GPG Key ID: 2CECE9350ECEBE4A
2 changed files with 13 additions and 0 deletions

View File

@ -125,6 +125,10 @@ end;
calib_params = M_.params;
calib_Sigma_e = M_.Sigma_e;
/* Skip test under MATLAB R2009b
MATLAB crashes, most likely due to an internal bug */
if isoctave || ~matlab_ver_less_than('7.10')
stoch_simul(order=@{ORDER},nograph,irf=0,periods=0);
identification(order=@{ORDER},nograph,no_identification_strength);
@ -472,3 +476,4 @@ for jj = 1:2
end
end
end % Skip test under old MATLAB

View File

@ -370,6 +370,10 @@ steady;
resid;
check;
/* Skip test under MATLAB R2009b
MATLAB crashes, most likely due to an internal bug */
if isoctave || ~matlab_ver_less_than('7.10')
identification(order=1,no_identification_strength,analytic_derivation_mode= 0,ar=5); %works
%identification(no_identification_strength,analytic_derivation_mode= 1,ar=5); %works, this takes the longest due to Kronecker products
options_.dynatol.x = 1e-9;
@ -378,3 +382,7 @@ identification(order=1,no_identification_strength,analytic_derivation_mode=-2,ar
options_.dynatol.x = 1e-5; %this is the default value
identification(order=1,no_identification_strength,analytic_derivation_mode=-1,ar=5); %works only if GBAR_o_YBAR is uncommented
identification(order=1,no_identification_strength,analytic_derivation_mode=-2,ar=5); %works only if GBAR_o_YBAR is uncommented
else % Skip test under old MATLAB
error('Test failed as expected')
end