torture: Add --kconfig argument to kvm.sh
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 2 May 2017 00:49:29 +0000 (17:49 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 24 Jul 2017 23:04:10 +0000 (16:04 -0700)
commitd62c9833d6474abc332d68e80b78ea9d4659058e
tree9be4a115e762f9e53f721bd70d68e41955963f29
parentc7e224eec484e8e11cb119079bb82aa3a9b3506b
torture: Add --kconfig argument to kvm.sh

Currently, testing a variant of an existing scenario requires editing
that scenario's file or creating a new scenario file.  This is messy
and error prone with respect to changes to scenarios.

This commit therefore adds a --kconfig argument to kvm.sh, so that
'--kconfig "CONFIG_RCU_TRACE=y CONFIG_RCU_EQS_DEBUG=n" will override those
two Kconfig options.  In addition, there is now clear precedence:
the config fragment overrides CFcommon, and the --kconfig argument
overrides both.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
tools/testing/selftests/rcutorture/bin/config_override.sh [new file with mode: 0755]
tools/testing/selftests/rcutorture/bin/kvm-build.sh
tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh
tools/testing/selftests/rcutorture/bin/kvm.sh