Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da1a1e19 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

torture: Make kvm-find-errors.sh find build warnings



Currently, kvm-find-errors.sh looks only for build errors ("error:"),
so this commit makes it also locate build warnings ("warning:").

Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tested-by: default avatarNicholas Piggin <npiggin@gmail.com>
parent b4e8afbd
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -22,9 +22,10 @@ editor=${EDITOR-vi}
files=
files=
for i in ${rundir}/*/Make.out
for i in ${rundir}/*/Make.out
do
do
	if grep -q "error:" < $i
	if egrep -q "error:|warning:" < $i
	then
	then
		files="$files $i"
		egrep "error:|warning:" < $i > $i.diags
		files="$files $i.diags $i"
	fi
	fi
done
done
if test -n "$files"
if test -n "$files"