[PATCH tip/core/rcu 26/55] rcutorture: Print dates when doing parallel rcutorture runs

From: Paul E. McKenney
Date: Mon Feb 17 2014 - 17:13:31 EST


From: "Paul E. McKenney" <paulmck@xxxxxxxxxxxxxxxxxx>

Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx>
---
tools/testing/selftests/rcutorture/bin/kvm.sh | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/tools/testing/selftests/rcutorture/bin/kvm.sh b/tools/testing/selftests/rcutorture/bin/kvm.sh
index 521f9e01074d..242b52d11cf9 100644
--- a/tools/testing/selftests/rcutorture/bin/kvm.sh
+++ b/tools/testing/selftests/rcutorture/bin/kvm.sh
@@ -286,7 +286,7 @@ awk < $T/cfgcpu.pack \
# Dump out the scripting required to run one test batch.
function dump(first, pastlast)
{
- print "echo ----start batch----"
+ print "echo ----Start batch: `date`"
jn=1
for (j = first; j < pastlast; j++) {
builddir=KVM "/b" jn
@@ -302,27 +302,27 @@ function dump(first, pastlast)
ovf = "(!)";
else
ovf = "";
- print "echo ", cfr[jn], cpusr[jn] ovf ": Starting build.";
+ print "echo ", cfr[jn], cpusr[jn] ovf ": Starting build. `date`";
print "rm -f " builddir ".*";
print "touch " builddir ".wait";
print "mkdir " builddir " > /dev/null 2>&1 || :";
print "mkdir " rd cfr[jn] " || :";
print "kvm-test-1-rcu.sh " CONFIGDIR cf[j], builddir, rd cfr[jn], dur " \"" RCU_QEMU_ARG "\" \"" RCU_BOOTARGS "\" > " builddir ".out 2>&1 &"
- print "echo ", cfr[jn], cpusr[jn] ovf ": Waiting for build to complete."
+ print "echo ", cfr[jn], cpusr[jn] ovf ": Waiting for build to complete. `date`"
print "while test -f " builddir ".wait"
print "do"
print "\tsleep 1"
print "done"
- print "echo ", cfr[jn], cpusr[jn] ovf ": Build complete."
+ print "echo ", cfr[jn], cpusr[jn] ovf ": Build complete. `date`"
jn++;
}
for (j = 1; j < jn; j++) {
builddir=KVM "/b" j
print "rm -f " builddir ".ready"
- print "echo ----", cfr[j], cpusr[j] ovf ": Starting kernel"
+ print "echo ----", cfr[j], cpusr[j] ovf ": Starting kernel. `date`"
}
print "wait"
- print "echo ---- All kernel runs complete"
+ print "echo ---- All kernel runs complete. `date`"
for (j = 1; j < jn; j++) {
builddir=KVM "/b" j
print "echo ----", cfr[j], cpusr[j] ovf ": Build/run results:"
--
1.8.1.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/