From 6b3dd43604832dbde53b03b96478c735f86760ce Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 23 Sep 2010 07:02:56 +0000 Subject: [PATCH] Changes: save output of 'make allmodconfig' and also build the drivers/scsi modules with sparse for 2.6.35.x kernel versions instead of only 2.6.35. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2190 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scripts/run-regression-tests | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/run-regression-tests b/scripts/run-regression-tests index 42e305f37..3692d5621 100755 --- a/scripts/run-regression-tests +++ b/scripts/run-regression-tests @@ -329,10 +329,10 @@ function patch_and_configure_kernel { echo "Patching and configuring kernel ..." ( - cd "${outputdir}/linux-$1" \ - && patch -p1 -f -s <"${patchfile}" \ - >"${outputdir}/patch-command-output-$1.txt" \ - && make -s allmodconfig &>/dev/null \ + cd "${outputdir}/linux-$1" \ + && patch -p1 -f -s <"${patchfile}" \ + >"${outputdir}/patch-command-output-$1.txt" \ + && make -s allmodconfig &>"${outputdir}/make-config-output.txt" \ && sed -i.tmp 's/^CONFIG_DEBUG_STRICT_USER_COPY_CHECKS=y$/CONFIG_DEBUG_STRICT_USER_COPY_CHECKS=n/' .config \ && make -s oldconfig &>/dev/null ) @@ -597,7 +597,7 @@ do if [ "${run_sparse}" = "true" ]; then run_sparse $k drivers/scst mv ${outputdir}/sparse-$k-output.txt ${outputdir}/sparse-$k-scst-output.txt - if [ "$k" = "2.6.35" ]; then + if [ "${k#2.6.35}" != "$k" ]; then run_sparse $k drivers/scsi libsrp.ko scsi_sysfs.ko \ scsi_transport_fc.ko scsi_transport_srp.ko mv ${outputdir}/sparse-$k-output.txt \