Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 06d9d1b2 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rcutorture: Eliminate configdir argument from kvm-recheck.sh script



Don't grab the configuration fragment from the configs directory because
it might well have been changed since the test was run.  Instead, use
the ConfigFragment file that was placed in the results directory.

Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Greg KH <gregkh@linuxfoundation.org>
parent be70a73a
Loading
Loading
Loading
Loading
+2 −4
Original line number Original line Diff line number Diff line
@@ -4,7 +4,7 @@
# check the build and console output for errors.  Given a directory
# check the build and console output for errors.  Given a directory
# containing results directories, this recursively checks them all.
# containing results directories, this recursively checks them all.
#
#
# Usage: sh kvm-recheck.sh configdir resdir ...
# Usage: sh kvm-recheck.sh resdir ...
#
#
# This program is free software; you can redistribute it and/or modify
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# it under the terms of the GNU General Public License as published by
@@ -25,8 +25,6 @@
# Authors: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
# Authors: Paul E. McKenney <paulmck@linux.vnet.ibm.com>


PATH=`pwd`/tools/testing/selftests/rcutorture/bin:$PATH; export PATH
PATH=`pwd`/tools/testing/selftests/rcutorture/bin:$PATH; export PATH
configdir=${1}
shift
for rd in "$@"
for rd in "$@"
do
do
	dirs=`find $rd -name Make.defconfig.out -print | sort | sed -e 's,/[^/]*$,,' | sort -u`
	dirs=`find $rd -name Make.defconfig.out -print | sort | sed -e 's,/[^/]*$,,' | sort -u`
@@ -34,7 +32,7 @@ do
	do
	do
		configfile=`echo $i | sed -e 's/^.*\///'`
		configfile=`echo $i | sed -e 's/^.*\///'`
		echo $i
		echo $i
		configcheck.sh $i/.config $configdir/$configfile
		configcheck.sh $i/.config $i/ConfigFragment
		parse-build.sh $i/Make.out $configfile
		parse-build.sh $i/Make.out $configfile
		parse-rcutorture.sh $i/console.log $configfile
		parse-rcutorture.sh $i/console.log $configfile
		parse-console.sh $i/console.log $configfile
		parse-console.sh $i/console.log $configfile