scripts/run-regression-tests: Also build scst-dkms-rpm

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7381 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2018-03-04 19:36:46 +00:00
parent fa5c8963f2
commit d0e5b123eb

View File

@@ -97,14 +97,17 @@ function duplicate_scst_source_tree {
}
function make_rpm {
local outputfile="${outputdir}/make-rpm-output.txt"
local outputfile t
echo "Testing whether 'make rpm' works fine ..."
if make rpm > "${outputfile}" 2>&1; then
echo "OK"
else
echo "FAILED"
fi
for t in rpm scst-dkms-rpm; do
outputfile="${outputdir}/make-${t}-output.txt"
echo "Testing whether 'make ${t}' works fine ..."
if make ${t} > "${outputfile}" 2>&1; then
echo "OK"
else
echo "FAILED"
fi
done
}
function compile_scst {