Commit 1fe9cef4 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

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: default avatarPaul E. McKenney <paulmck@kernel.org>
parent c9a9d8e8
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -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