]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
torture: Skip vmlinux check for kvm-again.sh runs
authorPaul E. McKenney <paulmck@kernel.org>
Fri, 25 Feb 2022 00:08:48 +0000 (16:08 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 20 Apr 2022 23:54:56 +0000 (16:54 -0700)
The kvm-again.sh script reruns an previously built set of kernels, so
the vmlinux files are associated with that previous run, not this on.
This results in kvm-find_errors.sh reporting spurious failed-build errors.
This commit therefore omits the vmlinux check for kvm-again.sh runs.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/testing/selftests/rcutorture/bin/kvm-find-errors.sh

index 5f682fc892dd490570d5746e0aea4381be36aa36..88983cba795636cc41b9c872f1ee4f7ba7ad2505 100755 (executable)
@@ -36,7 +36,7 @@ do
        then
                egrep "error:|warning:|^ld: .*undefined reference to" < $i > $i.diags
                files="$files $i.diags $i"
-       elif ! test -f ${scenariobasedir}/vmlinux
+       elif ! test -f ${scenariobasedir}/vmlinux && ! test -f "${rundir}/re-run"
        then
                echo No ${scenariobasedir}/vmlinux file > $i.diags
                files="$files $i.diags $i"