The following commit has been merged into the core/rcu branch of tip:

Commit-ID:     1fe9cef42b6cf6491a2982f68fc495c92389ba7b
Gitweb:        
https://git.kernel.org/tip/1fe9cef42b6cf6491a2982f68fc495c92389ba7b
Author:        Paul E. McKenney <paul...@kernel.org>
AuthorDate:    Wed, 25 Nov 2020 16:37:14 -08:00
Committer:     Paul E. McKenney <paul...@kernel.org>
CommitterDate: Wed, 06 Jan 2021 17:03:43 -08:00

torture: Make torture.sh allmodconfig retain and label output

This commit places "---" markers in the torture.sh script's allmodconfig
output, and uses "<<" to avoid overwriting earlier output from this
build test.

Signed-off-by: Paul E. McKenney <paul...@kernel.org>
---
 tools/testing/selftests/rcutorture/bin/torture.sh |  9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/tools/testing/selftests/rcutorture/bin/torture.sh 
b/tools/testing/selftests/rcutorture/bin/torture.sh
index a01079e..e2c97f9 100755
--- a/tools/testing/selftests/rcutorture/bin/torture.sh
+++ b/tools/testing/selftests/rcutorture/bin/torture.sh
@@ -238,9 +238,12 @@ then
        echo " --- allmodconfig:" Start `date` | tee -a $T/log
        amcdir="tools/testing/selftests/rcutorture/res/$ds/allmodconfig"
        mkdir -p "$amcdir"
-       make -j$MAKE_ALLOTED_CPUS clean > "$amcdir/Make.out" 2>&1
-       make -j$MAKE_ALLOTED_CPUS allmodconfig > "$amcdir/Make.out" 2>&1
-       make -j$MAKE_ALLOTED_CPUS > "$amcdir/Make.out" 2>&1
+       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
+       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
        retcode="$?"
        echo $retcode > "$amcdir/Make.exitcode"
        if test "$retcode" == 0

Reply via email to