aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/rcutorture
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2022-03-12 21:32:55 -0800
committerPaul E. McKenney <paulmck@kernel.org>2022-04-20 16:55:03 -0700
commitc7756fff4fa11611f81f0f3b1cb13f63b5d0f87e (patch)
tree9e3a04068f0339788b55a834eec67dec5cc36558 /tools/testing/selftests/rcutorture
parentscftorture: Remove extraneous "scf" from per_version_boot_params (diff)
downloadlinux-dev-c7756fff4fa11611f81f0f3b1cb13f63b5d0f87e.tar.xz
linux-dev-c7756fff4fa11611f81f0f3b1cb13f63b5d0f87e.zip
torture: Save "make allmodconfig" .config file
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>
Diffstat (limited to 'tools/testing/selftests/rcutorture')
-rwxr-xr-xtools/testing/selftests/rcutorture/bin/torture.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/rcutorture/bin/torture.sh b/tools/testing/selftests/rcutorture/bin/torture.sh
index e84db823a50d..c5b3dedc6dc4 100755
--- a/tools/testing/selftests/rcutorture/bin/torture.sh
+++ b/tools/testing/selftests/rcutorture/bin/torture.sh
@@ -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