changeset 25489:0dc3da84ffa3 stable

ensure that Make sees Octave exit status when running make check * test/module.mk (run-octave-tests): Use && to connect shell statements so that exit status of subshell containing Octave evaluation of tests is not ignored.
author John W. Eaton <jwe@octave.org>
date Thu, 21 Jun 2018 11:05:33 -0400
parents fbc270aeb55d
children 9feda91c8592 68e2daa29222
files test/module.mk
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/module.mk	Wed Jun 20 15:16:05 2018 -0400
+++ b/test/module.mk	Thu Jun 21 11:05:33 2018 -0400
@@ -79,7 +79,7 @@
 include %reldir%/publish/module.mk
 
 define run-octave-tests
-  ( cd %reldir% && $(SHELL) ../run-octave $(RUN_OCTAVE_OPTIONS) $(1) --norc --silent --no-history $(abs_top_srcdir)/%reldir%/fntests.m $(abs_top_srcdir)/%reldir% ); \
+  ( cd %reldir% && $(SHELL) ../run-octave $(RUN_OCTAVE_OPTIONS) $(1) --norc --silent --no-history $(abs_top_srcdir)/%reldir%/fntests.m $(abs_top_srcdir)/%reldir% ) && \
   if $(AM_V_P); then \
     echo ""; \
     if [ -f %reldir%/fntests.log ]; then \