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:
Bart Van Assche
2016-12-01 05:08:58 +00:00
parent 89e17d75c9
commit 07e91f348e

View File

@@ -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 &&