From 506a3fd76ec7b458d351450a50f1bb730643df9f Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 17 Dec 2013 08:15:33 +0000 Subject: [PATCH] scripts/run-regression-tests: Detect compilation failures properly git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5143 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scripts/run-regression-tests | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/run-regression-tests b/scripts/run-regression-tests index 710cc09e7..681b6af17 100755 --- a/scripts/run-regression-tests +++ b/scripts/run-regression-tests @@ -102,9 +102,9 @@ function compile_scst { for p in scst scst_local iscsi-scst srpt qla2x00t $(if [ "${mpt_scst}" = "true" ]; then echo mpt; fi); do if [ "${p%qla2x00t}" != "$p" ]; then BUILD_2X_MODULE=y CONFIG_SCSI_QLA_FC=y CONFIG_SCSI_QLA2XXX_TARGET=y \ - make -C $p/qla2x00-target || break + make -C $p/qla2x00-target || return $? else - make -C $p || break + make -C $p || return $? fi done )