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
This commit is contained in:
Bart Van Assche
2013-12-17 08:15:33 +00:00
parent ea4a132a4b
commit 506a3fd76e

View File

@@ -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
)