From 3ee29b89645f5ad7460fc8f64a20daa9d8b938b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Thu, 19 Sep 2019 14:40:52 +0200 Subject: [PATCH] Testsuite: compatibility fix for older MATLAB addpath does not deal well with relative path on older MATLABs. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6b5a366..451261e 100644 --- a/Makefile +++ b/Makefile @@ -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 ] -- GitLab