]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
torture: Save "make allmodconfig" .config file
authorPaul E. McKenney <paulmck@kernel.org>
Sun, 13 Mar 2022 05:32:55 +0000 (21:32 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 20 Apr 2022 23:55:03 +0000 (16:55 -0700)
Currently, torture.sh saves only the build output and exit code from the
"make allmodconfig" test.  This commit also saves the .config file.

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

index e84db823a50dcfeaa85d830827021713b143c39f..c5b3dedc6dc493aad5347877ec0fbaf42fbafc8e 100755 (executable)
@@ -322,6 +322,7 @@ then
        echo " --- make clean" > "$amcdir/Make.out" 2>&1
        make -j$MAKE_ALLOTED_CPUS clean >> "$amcdir/Make.out" 2>&1
        echo " --- make allmodconfig" >> "$amcdir/Make.out" 2>&1
+       cp .config $amcdir
        make -j$MAKE_ALLOTED_CPUS allmodconfig >> "$amcdir/Make.out" 2>&1
        echo " --- make " >> "$amcdir/Make.out" 2>&1
        make -j$MAKE_ALLOTED_CPUS >> "$amcdir/Make.out" 2>&1