]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
torture: Add textid.txt file to --do-allmodconfig and --do-rcu-rust runs
authorPaul E. McKenney <paulmck@kernel.org>
Wed, 4 Jun 2025 02:35:13 +0000 (19:35 -0700)
committerNeeraj Upadhyay (AMD) <neeraj.upadhyay@kernel.org>
Wed, 16 Jul 2025 04:14:04 +0000 (09:44 +0530)
This commit causes the torture.sh --do-allmodconfig and --do-rcu-rust
parameters to add testid.txt files to their results directories, thus
allowing easier analysis of the results of a series of runs kicked off by
"git bisect".

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Neeraj Upadhyay (AMD) <neeraj.upadhyay@kernel.org>
tools/testing/selftests/rcutorture/bin/torture.sh

index ed59bd43d4f889a689cf6a9868f0500d364550e2..a7a8e801283de260cca0581fd9276603c2709a79 100755 (executable)
@@ -410,6 +410,7 @@ then
        echo " --- allmodconfig:" Start `date` | tee -a $T/log
        amcdir="tools/testing/selftests/rcutorture/res/$ds/allmodconfig"
        mkdir -p "$amcdir"
+       mktestid.sh "$amcdir"
        echo " --- make clean" | tee $amcdir/log > "$amcdir/Make.out" 2>&1
        make -j$MAKE_ALLOTED_CPUS clean >> "$amcdir/Make.out" 2>&1
        retcode=$?
@@ -516,6 +517,7 @@ then
        echo " --- do-rcu-rust:" Start `date` | tee -a $T/log
        rrdir="tools/testing/selftests/rcutorture/res/$ds/results-rcu-rust"
        mkdir -p "$rrdir"
+       mktestid.sh "$rrdir"
        echo " --- make LLVM=1 rustavailable " | tee -a $rrdir/log > $rrdir/rustavailable.out
        make LLVM=1 rustavailable > $T/rustavailable.out 2>&1
        retcode=$?