From 6a2a1c9266269df8976eba84e30339b7851ba7d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= 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. --- matlab/reporting/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/reporting/Makefile b/matlab/reporting/Makefile index 6b5a36689..451261ef2 100644 --- a/matlab/reporting/Makefile +++ b/matlab/reporting/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 ]