2019-09-19 14:37:32 +02:00
|
|
|
OCTAVE ?= octave-cli
|
2020-12-17 16:32:52 +01:00
|
|
|
MATLAB ?= matlab
|
2017-03-17 15:46:01 +01:00
|
|
|
|
|
|
|
all: check-octave check-matlab
|
|
|
|
|
|
|
|
check-octave:
|
|
|
|
@cd test ;\
|
2019-09-03 13:00:18 +02:00
|
|
|
$(OCTAVE) --no-init-file --silent --no-history --eval "addpath([pwd() '/../dseries/src']); addpath([pwd() '/../src']); runtest;" && [ -f my/report/dir/report.pdf ]
|
2017-03-17 15:46:01 +01:00
|
|
|
|
|
|
|
check-matlab:
|
2019-09-19 14:40:52 +02:00
|
|
|
@$(MATLAB) -nosplash -nodisplay -r "addpath([pwd '/dseries/src']); addpath([pwd '/src']); cd test; runtest; quit" && [ -f test/my/report/dir/report.pdf ]
|