From d0e5b123ebecf2dbc2193c99c078c8c608052ee3 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 4 Mar 2018 19:36:46 +0000 Subject: [PATCH] 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 --- 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 {