mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-19 21:56:31 +00:00
Modified scripts invoked during a regression test run such that the line numbers printed by sparse match those of the SCST source files present in the Subversion repository.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1068 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -245,6 +245,7 @@ function generate_kernel_patch {
|
||||
local scst_dir="${PWD}"
|
||||
local kver="$(kernel_version $1)"
|
||||
local patchfile="${outputdir}/scst-$1-kernel.patch"
|
||||
local patchfile_m="${outputdir}/scst-$1-kernel-matching-line-numbers.patch"
|
||||
|
||||
SIGNED_OFF_BY="..." \
|
||||
scripts/generate-kernel-patch \
|
||||
@@ -252,6 +253,14 @@ function generate_kernel_patch {
|
||||
$([ "${mpt_scst}" = "true" ] && echo -- "-m") \
|
||||
$([ "${qla2x00t}" = "true" ] && echo -- "-q") \
|
||||
${kver} > "${patchfile}"
|
||||
|
||||
SIGNED_OFF_BY="..." \
|
||||
scripts/generate-kernel-patch \
|
||||
-n \
|
||||
$([ "${scst_local}" = "true" ] && echo -- "-l") \
|
||||
$([ "${mpt_scst}" = "true" ] && echo -- "-m") \
|
||||
$([ "${qla2x00t}" = "true" ] && echo -- "-q") \
|
||||
${kver} > "${patchfile_m}"
|
||||
}
|
||||
|
||||
# Generate a kernel patch through scripts/generate-kernel-patch and test
|
||||
@@ -300,7 +309,7 @@ function run_checkpatch {
|
||||
}
|
||||
|
||||
function patch_and_configure_kernel {
|
||||
local patchfile="${outputdir}/scst-$1-kernel.patch"
|
||||
local patchfile="${outputdir}/scst-$1-kernel-matching-line-numbers.patch"
|
||||
|
||||
echo "Patching and configuring kernel ..."
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user