From daa77a7a68ea461f951be85454a7599fab4c5723 Mon Sep 17 00:00:00 2001 From: Houtan Bastani Date: Tue, 27 Sep 2016 10:55:03 +0200 Subject: [PATCH] test suite: add .mod file name to execution command to see which test is running in top --- tests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`" ; \