mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-22 05:01:27 +00:00
scripts/run-regression-tests: Avoid that "make oldconfig" hangs
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7042 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -303,7 +303,7 @@ CONFIG_X86_X32 \
|
||||
fi &&
|
||||
make -s allmodconfig &>"${outputdir}/make-config-output.txt" &&
|
||||
for c in $disable; do sed -i.tmp "s/^$c=[ym]\$/$c=n/" .config; done &&
|
||||
make -s oldconfig &>/dev/null
|
||||
make -s oldconfig </dev/null &>/dev/null
|
||||
)
|
||||
}
|
||||
|
||||
@@ -402,7 +402,7 @@ function run_smatch {
|
||||
echo "Running smatch on the patched kernel in ${subdir} $@ ..."
|
||||
if (cd "${outputdir}/linux-$k" &&
|
||||
for c in $disable; do sed -i.tmp "s/^$c=y\$/$c=n/" .config; done &&
|
||||
make -s oldconfig &&
|
||||
make -s oldconfig </dev/null &&
|
||||
make -s prepare &&
|
||||
make -s scripts &&
|
||||
if grep -q '^CONFIG_PPC=y$' .config; then LC_ALL=C make -k M=arch/powerpc/lib; fi &&
|
||||
|
||||
Reference in New Issue
Block a user