From 192e2eff4fb271c43b0937807ddb6b525799d985 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 22 Sep 2009 18:27:54 +0000 Subject: [PATCH] Added qla2x00t to the nightly build. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1127 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scripts/generate-kernel-patch | 8 +++----- scripts/run-regression-tests | 12 ++++++++---- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/scripts/generate-kernel-patch b/scripts/generate-kernel-patch index 6f981d3d2..08470c7f4 100755 --- a/scripts/generate-kernel-patch +++ b/scripts/generate-kernel-patch @@ -24,13 +24,12 @@ ######################## function usage { - echo "Usage: $0 [-h] [-m] [-p ] [-q] , where: " + echo "Usage: $0 [-h] [-m] [-p ] , where: " echo " -h - show this text" echo " -m - add mpt target driver" echo " -n - do not delete code disabled via preprocessor statements" echo " -p - generate multiple patches instead of one big patch into"\ "the specified directory." - echo " -q - add qla2x00t driver" } # Convert an existing patch. @@ -140,7 +139,7 @@ function in_separate_patch { # Argument verification # ######################### -qla2x00t="false" +qla2x00t="true" srpt="true" mpt_scst="false" multiple_patches="false" @@ -153,7 +152,7 @@ if [ ! -e scst -o ! -e iscsi-scst -o ! -e srpt -o ! -e scst_local ]; then exit 1 fi -set -- $(/usr/bin/getopt hlmnp:q "$@") +set -- $(/usr/bin/getopt hlmnp: "$@") while [ "$1" != "${1#-}" ] do case "$1" in @@ -165,7 +164,6 @@ do shift ;; '-p') multiple_patches="true"; patchdir="$2"; shift; shift;; - '-q') qla2x00t="true"; shift;; '--') shift;; *) usage; exit 1;; esac diff --git a/scripts/run-regression-tests b/scripts/run-regression-tests index 24b74ec8b..e6c63510b 100755 --- a/scripts/run-regression-tests +++ b/scripts/run-regression-tests @@ -166,8 +166,10 @@ function compile_scst_unpatched { && if "${scst_local}" = "true" ; then make -C scst_local -s ; fi \ && if "${mpt_scst}" = "true" ; then make -C mpt clean; fi \ && if "${mpt_scst}" = "true" ; then make -C mpt -s ; fi \ - && make -C srpt -s clean \ - && make -C srpt -s ) \ + && make -C qla2x00t -s clean \ + && make -C qla2x00t -s \ + && make -C srpt -s clean \ + && make -C srpt -s ) \ &> "${outputfile}" then echo "OK" @@ -198,8 +200,10 @@ function compile_scst_patched { && if "${scst_local}" = "true" ; then make -C scst_local -s ; fi \ && if "${mpt_scst}" = "true" ; then make -C mpt clean; fi \ && if "${mpt_scst}" = "true" ; then make -C mpt -s ; fi \ - && make -C srpt -s clean \ - && make -C srpt -s ) \ + && make -C qla2x00t -s clean \ + && make -C qla2x00t -s \ + && make -C srpt -s clean \ + && make -C srpt -s ) \ &> "${outputfile}" then echo "OK"