From 50eb4dcb14391eeece4ae4b29e5684785ccb1d4c Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 4 Mar 2018 08:34:22 -0800 Subject: [PATCH] scripts/run-regression-tests: Also build scst-dkms-rpm --- scripts/run-regression-tests | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/scripts/run-regression-tests b/scripts/run-regression-tests index 4deabe196..92e9eaaf1 100755 --- a/scripts/run-regression-tests +++ b/scripts/run-regression-tests @@ -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 {