Commit 3ee29b89 authored by Sébastien Villemot's avatar Sébastien Villemot

Testsuite: compatibility fix for older MATLAB

addpath does not deal well with relative path on older MATLABs.
parent 344c734a
Pipeline #1883 failed with stage
in 55 seconds
......@@ -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 ]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment