diff options
4 files changed, 21 insertions, 8 deletions
diff --git a/tools/testing/selftests/rcutorture/bin/kvm-recheck-lock.sh b/tools/testing/selftests/rcutorture/bin/kvm-recheck-lock.sh index 829186e19eb1..7f1ff1a8fc4b 100755 --- a/tools/testing/selftests/rcutorture/bin/kvm-recheck-lock.sh +++ b/tools/testing/selftests/rcutorture/bin/kvm-recheck-lock.sh | |||
@@ -35,7 +35,7 @@ configfile=`echo $i | sed -e 's/^.*\///'` | |||
35 | ncs=`grep "Writes: Total:" $i/console.log 2> /dev/null | tail -1 | sed -e 's/^.* Total: //' -e 's/ .*$//'` | 35 | ncs=`grep "Writes: Total:" $i/console.log 2> /dev/null | tail -1 | sed -e 's/^.* Total: //' -e 's/ .*$//'` |
36 | if test -z "$ncs" | 36 | if test -z "$ncs" |
37 | then | 37 | then |
38 | echo $configfile | 38 | echo "$configfile -------" |
39 | else | 39 | else |
40 | title="$configfile ------- $ncs acquisitions/releases" | 40 | title="$configfile ------- $ncs acquisitions/releases" |
41 | dur=`sed -e 's/^.* locktorture.shutdown_secs=//' -e 's/ .*$//' < $i/qemu-cmd 2> /dev/null` | 41 | dur=`sed -e 's/^.* locktorture.shutdown_secs=//' -e 's/ .*$//' < $i/qemu-cmd 2> /dev/null` |
diff --git a/tools/testing/selftests/rcutorture/bin/kvm-recheck-rcu.sh b/tools/testing/selftests/rcutorture/bin/kvm-recheck-rcu.sh index d75b1dc5ae53..307c4b95f325 100755 --- a/tools/testing/selftests/rcutorture/bin/kvm-recheck-rcu.sh +++ b/tools/testing/selftests/rcutorture/bin/kvm-recheck-rcu.sh | |||
@@ -35,7 +35,7 @@ configfile=`echo $i | sed -e 's/^.*\///'` | |||
35 | ngps=`grep ver: $i/console.log 2> /dev/null | tail -1 | sed -e 's/^.* ver: //' -e 's/ .*$//'` | 35 | ngps=`grep ver: $i/console.log 2> /dev/null | tail -1 | sed -e 's/^.* ver: //' -e 's/ .*$//'` |
36 | if test -z "$ngps" | 36 | if test -z "$ngps" |
37 | then | 37 | then |
38 | echo $configfile | 38 | echo "$configfile -------" |
39 | else | 39 | else |
40 | title="$configfile ------- $ngps grace periods" | 40 | title="$configfile ------- $ngps grace periods" |
41 | dur=`sed -e 's/^.* rcutorture.shutdown_secs=//' -e 's/ .*$//' < $i/qemu-cmd 2> /dev/null` | 41 | dur=`sed -e 's/^.* rcutorture.shutdown_secs=//' -e 's/ .*$//' < $i/qemu-cmd 2> /dev/null` |
diff --git a/tools/testing/selftests/rcutorture/bin/kvm-recheck.sh b/tools/testing/selftests/rcutorture/bin/kvm-recheck.sh index 26d78b7eaccf..ee1f6cae3d70 100755 --- a/tools/testing/selftests/rcutorture/bin/kvm-recheck.sh +++ b/tools/testing/selftests/rcutorture/bin/kvm-recheck.sh | |||
@@ -25,6 +25,7 @@ | |||
25 | # Authors: Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 25 | # Authors: Paul E. McKenney <paulmck@linux.vnet.ibm.com> |
26 | 26 | ||
27 | PATH=`pwd`/tools/testing/selftests/rcutorture/bin:$PATH; export PATH | 27 | PATH=`pwd`/tools/testing/selftests/rcutorture/bin:$PATH; export PATH |
28 | . tools/testing/selftests/rcutorture/bin/functions.sh | ||
28 | for rd in "$@" | 29 | for rd in "$@" |
29 | do | 30 | do |
30 | firsttime=1 | 31 | firsttime=1 |
@@ -39,13 +40,24 @@ do | |||
39 | fi | 40 | fi |
40 | TORTURE_SUITE="`cat $i/../TORTURE_SUITE`" | 41 | TORTURE_SUITE="`cat $i/../TORTURE_SUITE`" |
41 | kvm-recheck-${TORTURE_SUITE}.sh $i | 42 | kvm-recheck-${TORTURE_SUITE}.sh $i |
42 | configcheck.sh $i/.config $i/ConfigFragment | 43 | if test -f "$i/console.log" |
43 | parse-build.sh $i/Make.out $configfile | ||
44 | parse-torture.sh $i/console.log $configfile | ||
45 | parse-console.sh $i/console.log $configfile | ||
46 | if test -r $i/Warnings | ||
47 | then | 44 | then |
48 | cat $i/Warnings | 45 | configcheck.sh $i/.config $i/ConfigFragment |
46 | parse-build.sh $i/Make.out $configfile | ||
47 | parse-torture.sh $i/console.log $configfile | ||
48 | parse-console.sh $i/console.log $configfile | ||
49 | if test -r $i/Warnings | ||
50 | then | ||
51 | cat $i/Warnings | ||
52 | fi | ||
53 | else | ||
54 | if test -f "$i/qemu-cmd" | ||
55 | then | ||
56 | print_bug qemu failed | ||
57 | else | ||
58 | print_bug Build failed | ||
59 | fi | ||
60 | echo " $i" | ||
49 | fi | 61 | fi |
50 | done | 62 | done |
51 | done | 63 | done |
diff --git a/tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh b/tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh index 2301982b8087..2bfdb48cd920 100755 --- a/tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh +++ b/tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh | |||
@@ -112,6 +112,7 @@ then | |||
112 | fi | 112 | fi |
113 | else | 113 | else |
114 | cp $builddir/Make*.out $resdir | 114 | cp $builddir/Make*.out $resdir |
115 | cp $builddir/.config $resdir || : | ||
115 | echo Build failed, not running KVM, see $resdir. | 116 | echo Build failed, not running KVM, see $resdir. |
116 | if test -f $builddir.wait | 117 | if test -f $builddir.wait |
117 | then | 118 | then |