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

This commit is contained in:
Bart Van Assche
2018-03-04 08:34:22 -08:00
parent 2266ee8a6d
commit 50eb4dcb14

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 {