diff --git a/tests/Makefile.am b/tests/Makefile.am index bcc8c87b0..bc995992e 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -666,7 +666,7 @@ check-octave: $(O_XFAIL_TRS_FILES) $(O_TRS_FILES) %.o.trs %.o.log: %.mod @echo "`tput bold``tput setaf 8`OCTAVE: $(PWD)/$*... `tput sgr0`" @DYNARE_VERSION="$(PACKAGE_VERSION)" TOP_TEST_DIR="$(PWD)" FILESTEM="$*" \ - $(OCTAVE) --no-init-file --silent --no-history run_test_octave.m > $*.o.log 2>&1 || \ + $(OCTAVE) --no-init-file --silent --no-history --path "$*.mod" run_test_octave.m > $*.o.log 2>&1 || \ printf ":test-result: FAIL\n:number-tests: 1\n:number-failed-tests: 1\n:list-of-failed-tests: $*.mod\n:cputime: 0.0\n" > $*.o.trs @if grep -q ":test-result: PASS" $*.o.trs; then \ echo "`tput bold``tput setaf 2`OCTAVE: $(PWD)/$* PASSED!`tput sgr0`" ; \