Testsuite: compatibility fix for older MATLAB

addpath does not deal well with relative path on older MATLABs.
remove-priordens
Sébastien Villemot 2019-09-19 14:40:52 +02:00
parent bbe24ad987
commit 6a2a1c9266
1 changed files with 1 additions and 1 deletions

View File

@ -8,4 +8,4 @@ check-octave:
$(OCTAVE) --no-init-file --silent --no-history --eval "addpath([pwd() '/../dseries/src']); addpath([pwd() '/../src']); runtest;" && [ -f my/report/dir/report.pdf ]
check-matlab:
@$(MATLAB) -nosplash -nodisplay -r "addpath dseries/src; addpath src; cd test; runtest; quit" && [ -f test/my/report/dir/report.pdf ]
@$(MATLAB) -nosplash -nodisplay -r "addpath([pwd '/dseries/src']); addpath([pwd '/src']); cd test; runtest; quit" && [ -f test/my/report/dir/report.pdf ]