rcutorture: Make test output less chatty
This commit drops no-longer-needed diagnostics from the output. Some of them are retained in logfiles, in case they are ever needed. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Greg KH <gregkh@linuxfoundation.org>
This commit is contained in:
@@ -14,8 +14,6 @@
|
|||||||
# for example, "O=/tmp/foo". If this argument is omitted, the .config
|
# for example, "O=/tmp/foo". If this argument is omitted, the .config
|
||||||
# file will be generated directly in the current directory.
|
# file will be generated directly in the current directory.
|
||||||
|
|
||||||
echo configinit.sh $*
|
|
||||||
|
|
||||||
T=/tmp/configinit.sh.$$
|
T=/tmp/configinit.sh.$$
|
||||||
trap 'rm -rf $T' 0
|
trap 'rm -rf $T' 0
|
||||||
mkdir $T
|
mkdir $T
|
||||||
|
@@ -62,7 +62,7 @@ then
|
|||||||
fi
|
fi
|
||||||
cp $config_template $resdir/ConfigFragment
|
cp $config_template $resdir/ConfigFragment
|
||||||
echo ' ---' `date`: Starting build
|
echo ' ---' `date`: Starting build
|
||||||
echo ' ---' Kconfig fragment at: $config_template
|
echo ' ---' Kconfig fragment at: $config_template >> $resdir/log
|
||||||
cat << '___EOF___' >> $T
|
cat << '___EOF___' >> $T
|
||||||
CONFIG_RCU_TORTURE_TEST=y
|
CONFIG_RCU_TORTURE_TEST=y
|
||||||
___EOF___
|
___EOF___
|
||||||
|
@@ -28,6 +28,7 @@
|
|||||||
# Authors: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
|
# Authors: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
|
||||||
|
|
||||||
scriptname=$0
|
scriptname=$0
|
||||||
|
args="$*"
|
||||||
|
|
||||||
dur=30
|
dur=30
|
||||||
KVM=`pwd`/tools/testing/selftests/rcutorture; export KVM
|
KVM=`pwd`/tools/testing/selftests/rcutorture; export KVM
|
||||||
@@ -73,7 +74,6 @@ checkarg () {
|
|||||||
|
|
||||||
while test $# -gt 0
|
while test $# -gt 0
|
||||||
do
|
do
|
||||||
echo ":$1:"
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
--builddir)
|
--builddir)
|
||||||
checkarg --builddir "(absolute pathname)" "$#" "$2" '^/' error
|
checkarg --builddir "(absolute pathname)" "$#" "$2" '^/' error
|
||||||
@@ -133,11 +133,6 @@ do
|
|||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "builddir=$builddir"
|
|
||||||
echo "dur=$dur"
|
|
||||||
echo "KVM=$KVM"
|
|
||||||
echo "resdir=$resdir"
|
|
||||||
|
|
||||||
PATH=${KVM}/bin:$PATH; export PATH
|
PATH=${KVM}/bin:$PATH; export PATH
|
||||||
CONFIGFRAG=${KVM}/configs; export CONFIGFRAG
|
CONFIGFRAG=${KVM}/configs; export CONFIGFRAG
|
||||||
KVPATH=${CONFIGFRAG}/$kversion; export KVPATH
|
KVPATH=${CONFIGFRAG}/$kversion; export KVPATH
|
||||||
@@ -150,12 +145,19 @@ fi
|
|||||||
if test -z "$resdir"
|
if test -z "$resdir"
|
||||||
then
|
then
|
||||||
resdir=$KVM/res
|
resdir=$KVM/res
|
||||||
mkdir $resdir || :
|
if ! test -e $resdir
|
||||||
|
then
|
||||||
|
mkdir $resdir || :
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
mkdir -p "$resdir" || :
|
if ! test -e $resdir
|
||||||
|
then
|
||||||
|
mkdir -p "$resdir" || :
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
mkdir $resdir/$ds
|
mkdir $resdir/$ds
|
||||||
echo Datestamp: $ds
|
touch $resdir/$ds/log
|
||||||
|
echo $scriptname $args >> $resdir/$ds/log
|
||||||
|
|
||||||
pwd > $resdir/$ds/testid.txt
|
pwd > $resdir/$ds/testid.txt
|
||||||
if test -d .git
|
if test -d .git
|
||||||
@@ -164,7 +166,10 @@ then
|
|||||||
git rev-parse HEAD >> $resdir/$ds/testid.txt
|
git rev-parse HEAD >> $resdir/$ds/testid.txt
|
||||||
fi
|
fi
|
||||||
builddir=$KVM/b1
|
builddir=$KVM/b1
|
||||||
mkdir $builddir || :
|
if ! test -e $builddir
|
||||||
|
then
|
||||||
|
mkdir $builddir || :
|
||||||
|
fi
|
||||||
|
|
||||||
for CF in $configs
|
for CF in $configs
|
||||||
do
|
do
|
||||||
|
Reference in New Issue
Block a user