From 709e10812e8f728afca6145ff9a5dbf8d0b27ce0 Mon Sep 17 00:00:00 2001 From: Houtan Bastani <houtan@dynare.org> Date: Mon, 6 Apr 2020 10:13:13 -0400 Subject: [PATCH] fix path in check-octave --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6ab58da..5707f8b 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ m-unit-tests/src/mtest.m: check-octave: m-unit-tests/src/mtest.m @cd src/subroutines;\ - $(OCTAVE) --no-init-file --silent --no-history --eval "addpath([pwd() '/../m-unit-tests/src']); runalltests" && [ ! -f ./failed ] && [ -f ./pass ] + $(OCTAVE) --no-init-file --silent --no-history --eval "addpath([pwd() '/../../m-unit-tests/src']); runalltests" && [ ! -f ./failed ] && [ -f ./pass ] check-matlab: m-unit-tests/src/mtest.m @$(MATLAB) -nosplash -nodisplay -r "addpath([pwd '/m-unit-tests/src']); cd src/subroutines; runalltests; quit" && [ ! -f ./tests/failed ] && [ -f ./tests/pass ] -- GitLab