]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rcutorture: Record results from repeated runs of the same test scenario
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sat, 19 Oct 2013 13:28:21 +0000 (06:28 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 3 Dec 2013 18:11:18 +0000 (10:11 -0800)
commitf43f8f73510c1013fe9449d7732e8f73a75b6fde
treea2b9d37475d71a2dd9a44efc19456bb6539ecdaa
parente1362651f713e359dd76f0df74bce393a9372316
rcutorture: Record results from repeated runs of the same test scenario

Repeatedly running a given test, for example, by repeating the name
as in "--configs "TREE08 TREE08 TREE08" records the results only of
the last run of this test.  This is because the earlier results are
overwritten by the later results.

This commit therefore checks for earlier results, using numbered
file extensions to distinguish multiple runs.  The earlier example
would therefore create directories TREE01, TREE01.2, and TREE01.3.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Greg KH <gregkh@linuxfoundation.org>
tools/testing/selftests/rcutorture/bin/kvm.sh