torture: Add testing of RCU's Rust bindings to torture.sh
authorPaul E. McKenney <paulmck@kernel.org>
Wed, 12 Mar 2025 22:54:48 +0000 (15:54 -0700)
committerJoel Fernandes <joelagnelf@nvidia.com>
Fri, 16 May 2025 15:12:54 +0000 (11:12 -0400)
commit7e01c4c5cff293627209bac4337b1971b2f57d4e
treede9a17dd1ab399d74c4e92a900f4a199a913b96d
parentfa11a54cf6cc21f1e18dc7ba71de662561fddc55
torture: Add testing of RCU's Rust bindings to torture.sh

This commit adds a --do-rcu-rust parameter to torture.sh, which invokes
a rust_doctests_kernel kunit run.  Note that kunit wants a clean source
tree, so this runs "make mrproper", which might come as a surprise to
some users.  Should there be a --mrproper parameter to torture.sh to make
the user explicitly ask for it?

Co-developed-by: Boqun Feng <boqun.feng@gmail.com>
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Joel Fernandes <joelagnelf@nvidia.com>
tools/testing/selftests/rcutorture/bin/torture.sh