torture: Enable KCSAN summaries over groups of torture-test runs
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 3 Jun 2021 17:45:41 +0000 (10:45 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 20 Jul 2021 20:45:50 +0000 (13:45 -0700)
The kcsan-collapse.sh script assumes that it is being run over the output
of a single kvm.sh run, which is less than helpful for torture.sh runs.
This commit therefore changes the kcsan-collapse.sh script's "ls" pattern
with a "find" command to enable a KCSAN summary across all the -kcsan
runs in a full torture.sh run.

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

index e5cc6b2f195eb9fb916ef66c011b427569fb655e..1af5d6b86b39247243259f739b35df286126b117 100755 (executable)
@@ -14,7 +14,7 @@ if test -z "$TORTURE_KCONFIG_KCSAN_ARG"
 then
        exit 0
 fi
-cat $1/*/console.log |
+find $1 -name console.log -exec cat {} \; |
        grep "BUG: KCSAN: " |
        sed -e 's/^\[[^]]*] //' |
        sort |