The tests are run on karaba where Octave 3.6.2 is installed. This should be changed as we don't intend to support previous versions of Octave.
I would suggest to only support Octave 4.0.0 that is readily available for Windows and Linux (OS/X seems a bit more complicate)
With Octave 4.0.0, there seems to be several issues. I have already solved one linked to a bug in linsolve, but there are others.
Best
Michel
Johannes Pfeifer writes:
Does anyone know where the unit test crashes in Octave for many files comes from? They all have similar issues with check_matlab_path.m. The message always is some variant of:
*** TESTING: AIM/fs2000_b1L1L ***
warning: dir: `lstat (./fs2000x10_L9_L.m)' failed: No such file or directory
*** DYNARE-TEST-OCTAVE ERROR ENCOUNTERED ***
WHILE RUNNING MODFILE: AIM/fs2000_b1L1L
MSG: subscript indices must be either positive integers
or logicals
IN FILE:
/tmp/dynare-master-8ungo5vnGP/dynare/tests/../matlab/check_matlab_path.m
IN FUNCTION: check_matlab_path>getallroutinenames ON LINE and COLUMN: 131 and 1
I cannot replicate it under Windows with Octave 3.8.2. Thus, I don't know whether it is Linux or Octave 3.6 on Karaba that is causing the issue.