Testsuite: improve decoupling of check-matlab and check-octave rules

time-shift
Sébastien Villemot 2013-06-13 10:41:08 +02:00
parent cb2228acad
commit 6391a60641
1 changed files with 2 additions and 8 deletions

View File

@ -303,21 +303,15 @@ TARGETS += check-octave
endif
check-local: $(TARGETS)
if HAVE_OCTAVE
./read_trs_files.sh "$(O_TRS_FILES)" "$(O_XFAIL_TRS_FILES)"
endif
if HAVE_CMD_LINE_MATLAB
./read_trs_files.sh "$(M_TRS_FILES)" "$(M_XFAIL_TRS_FILES)"
endif
@cat run_test_matlab_output.txt
@cat run_test_octave_output.txt
check-matlab: $(M_XFAIL_TRS_FILES) $(M_TRS_FILES)
./read_trs_files.sh "$(M_TRS_FILES)" "$(M_XFAIL_TRS_FILES)"
@echo 'Matlab Tests Done'
check-octave: $(O_XFAIL_TRS_FILES) $(O_TRS_FILES)
./read_trs_files.sh "$(O_TRS_FILES)" "$(O_XFAIL_TRS_FILES)"
@echo 'Octave Tests Done'
%.m.trs %.m.log: %.mod