diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-01-30 18:29:29 -0500 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2014-02-23 12:01:09 -0500 |
commit | 3c626237eb359cf125051f2fe8b419ddae0f5291 (patch) | |
tree | e4f87014838bad96f9dedbf0dbf76eb936b08373 /tools/testing | |
parent | cc47ae0830264f07442070b36fe0d0a4d4e3c313 (diff) |
rcutorture: Print dates when doing parallel rcutorture runs
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'tools/testing')
-rw-r--r-- | tools/testing/selftests/rcutorture/bin/kvm.sh | 12 |
1 files 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 \ | |||
286 | # Dump out the scripting required to run one test batch. | 286 | # Dump out the scripting required to run one test batch. |
287 | function dump(first, pastlast) | 287 | function dump(first, pastlast) |
288 | { | 288 | { |
289 | print "echo ----start batch----" | 289 | print "echo ----Start batch: `date`" |
290 | jn=1 | 290 | jn=1 |
291 | for (j = first; j < pastlast; j++) { | 291 | for (j = first; j < pastlast; j++) { |
292 | builddir=KVM "/b" jn | 292 | builddir=KVM "/b" jn |
@@ -302,27 +302,27 @@ function dump(first, pastlast) | |||
302 | ovf = "(!)"; | 302 | ovf = "(!)"; |
303 | else | 303 | else |
304 | ovf = ""; | 304 | ovf = ""; |
305 | print "echo ", cfr[jn], cpusr[jn] ovf ": Starting build."; | 305 | print "echo ", cfr[jn], cpusr[jn] ovf ": Starting build. `date`"; |
306 | print "rm -f " builddir ".*"; | 306 | print "rm -f " builddir ".*"; |
307 | print "touch " builddir ".wait"; | 307 | print "touch " builddir ".wait"; |
308 | print "mkdir " builddir " > /dev/null 2>&1 || :"; | 308 | print "mkdir " builddir " > /dev/null 2>&1 || :"; |
309 | print "mkdir " rd cfr[jn] " || :"; | 309 | print "mkdir " rd cfr[jn] " || :"; |
310 | print "kvm-test-1-rcu.sh " CONFIGDIR cf[j], builddir, rd cfr[jn], dur " \"" RCU_QEMU_ARG "\" \"" RCU_BOOTARGS "\" > " builddir ".out 2>&1 &" | 310 | print "kvm-test-1-rcu.sh " CONFIGDIR cf[j], builddir, rd cfr[jn], dur " \"" RCU_QEMU_ARG "\" \"" RCU_BOOTARGS "\" > " builddir ".out 2>&1 &" |
311 | print "echo ", cfr[jn], cpusr[jn] ovf ": Waiting for build to complete." | 311 | print "echo ", cfr[jn], cpusr[jn] ovf ": Waiting for build to complete. `date`" |
312 | print "while test -f " builddir ".wait" | 312 | print "while test -f " builddir ".wait" |
313 | print "do" | 313 | print "do" |
314 | print "\tsleep 1" | 314 | print "\tsleep 1" |
315 | print "done" | 315 | print "done" |
316 | print "echo ", cfr[jn], cpusr[jn] ovf ": Build complete." | 316 | print "echo ", cfr[jn], cpusr[jn] ovf ": Build complete. `date`" |
317 | jn++; | 317 | jn++; |
318 | } | 318 | } |
319 | for (j = 1; j < jn; j++) { | 319 | for (j = 1; j < jn; j++) { |
320 | builddir=KVM "/b" j | 320 | builddir=KVM "/b" j |
321 | print "rm -f " builddir ".ready" | 321 | print "rm -f " builddir ".ready" |
322 | print "echo ----", cfr[j], cpusr[j] ovf ": Starting kernel" | 322 | print "echo ----", cfr[j], cpusr[j] ovf ": Starting kernel. `date`" |
323 | } | 323 | } |
324 | print "wait" | 324 | print "wait" |
325 | print "echo ---- All kernel runs complete" | 325 | print "echo ---- All kernel runs complete. `date`" |
326 | for (j = 1; j < jn; j++) { | 326 | for (j = 1; j < jn; j++) { |
327 | builddir=KVM "/b" j | 327 | builddir=KVM "/b" j |
328 | print "echo ----", cfr[j], cpusr[j] ovf ": Build/run results:" | 328 | print "echo ----", cfr[j], cpusr[j] ovf ": Build/run results:" |