diff --git a/Makefile b/Makefile
index 6ab58dae1dfbdb6fc834d1735094808f774fa2b1..5707f8b121445dc52e347079092357e5768df1db 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 ]