diff --git a/tests/analytic_derivatives/BrockMirman_PertParamsDerivs.mod b/tests/analytic_derivatives/BrockMirman_PertParamsDerivs.mod index 638735851d8acf2dba84ab93b5286169bcdbf99d..e2b407c49227c238b52c64616d87c1fdbc1b649e 100644 --- a/tests/analytic_derivatives/BrockMirman_PertParamsDerivs.mod +++ b/tests/analytic_derivatives/BrockMirman_PertParamsDerivs.mod @@ -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 diff --git a/tests/identification/LindeTrabandt/LindeTrabandt2019_xfail.mod b/tests/identification/LindeTrabandt/LindeTrabandt2019_xfail.mod index 1dcf57b2de8d2c1e4be552f04ce536cd160e4a3d..9494da438e92080c3d237b1a52ac6d23696954bc 100644 --- a/tests/identification/LindeTrabandt/LindeTrabandt2019_xfail.mod +++ b/tests/identification/LindeTrabandt/LindeTrabandt2019_xfail.mod @@ -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