Compatibility fix: strsplit and strjoin were introduced in MATLAB R2013a

Provide alternative implementations, taken from Dynare.
3 jobs for master in 1 minute and 33 seconds
Status Job ID Name Coverage
  Test
passed #6471
testsuite_matlab

00:00:54

failed #6473
allowed to fail
testsuite_octave

00:01:32

failed #6472
allowed to fail
testsuite_old_matlab

00:00:50

 
Name Stage Failure
failed
testsuite_octave Test
/home/gitlab-runner/builds/79277319/0/sebastien/dseries/tests/../src/utilities/x13/printoption.m                                      Unit test number  1  PASS    [    0.02303 ]
/home/gitlab-runner/builds/79277319/0/sebastien/dseries/tests/../src/utilities/x13/printspan.m Unit test number 1 PASS [ 0.00918293 ]
/home/gitlab-runner/builds/79277319/0/sebastien/dseries/tests/../src/utilities/x13/printspan.m Unit test number 2 PASS [ 0.00811505 ]
/home/gitlab-runner/builds/79277319/0/sebastien/dseries/tests/../src/utilities/x13/printspan.m Unit test number 3 PASS [ 0.00744605 ]
/home/gitlab-runner/builds/79277319/0/sebastien/dseries/tests/../src/utilities/x13/printstart.m Unit test number 1 PASS [ 0.006078 ]
/home/gitlab-runner/builds/79277319/0/sebastien/dseries/tests/../src/utilities/x13/setdefaultmember.m Unit test number 1 PASS [ 0.0036602 ]

make: *** [Makefile:10: check-octave] Error 1
ERROR: Job failed: exit status 1
failed
testsuite_old_matlab Test
/home/gitlab-runner/builds/64f6c0e8/0/sebastien/dseries/tests/../src/utilities/x13/printoption.m                                      Unit test number  1  PASS    [ 0.010355 ]
/home/gitlab-runner/builds/64f6c0e8/0/sebastien/dseries/tests/../src/utilities/x13/printspan.m Unit test number 1 PASS [ 0.004414 ]
/home/gitlab-runner/builds/64f6c0e8/0/sebastien/dseries/tests/../src/utilities/x13/printspan.m Unit test number 2 PASS [ 0.002693 ]
/home/gitlab-runner/builds/64f6c0e8/0/sebastien/dseries/tests/../src/utilities/x13/printspan.m Unit test number 3 PASS [ 0.002588 ]
/home/gitlab-runner/builds/64f6c0e8/0/sebastien/dseries/tests/../src/utilities/x13/printstart.m Unit test number 1 PASS [ 0.002044 ]
/home/gitlab-runner/builds/64f6c0e8/0/sebastien/dseries/tests/../src/utilities/x13/setdefaultmember.m Unit test number 1 PASS [ 0.002286 ]

make: *** [Makefile:14: check-matlab] Error 1
ERROR: Job failed: exit status 1