torture: Add --kcsan-kmake-arg to torture.sh for KCSAN
authorPaul E. McKenney <paulmck@kernel.org>
Sat, 28 Nov 2020 02:06:57 +0000 (18:06 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Thu, 7 Jan 2021 01:03:46 +0000 (17:03 -0800)
commitc54e413822701a18e7cf6bada2028ea9a9ecdaf9
tree3f8f8468376f2031eb5aa25ab3496540e144b353
parentc66c0f94b345600aea881f6c4a1dac0ff5dd1aa8
torture: Add --kcsan-kmake-arg to torture.sh for KCSAN

In 2020, running KCSAN often requires careful choice of compiler.
This commit therefore adds a --kcsan-kmake-arg parameter to torture.sh
to allow specifying (for example) "CC=clang" to the kernel build process
to correctly build a KCSAN-enabled kernel.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/testing/selftests/rcutorture/bin/torture.sh