torture: Add --do-{,no-}normal to torture.sh
authorPaul E. McKenney <paulmck@kernel.org>
Sun, 9 Mar 2025 16:00:35 +0000 (09:00 -0700)
committerJoel Fernandes <joelagnelf@nvidia.com>
Fri, 16 May 2025 15:12:54 +0000 (11:12 -0400)
commitfa11a54cf6cc21f1e18dc7ba71de662561fddc55
tree0c940a654a1177f4af52c5f633de437c1de1ff33
parentb9af71a26dff591e214dcd3dca7b94c908ccb825
torture: Add --do-{,no-}normal to torture.sh

Right now, torture.sh runs normal runs unconditionally, which can be slow
and thus annoying when you only want to test --kcsan or --kasan runs.
This commit therefore adds a --do-normal argument so that "--kcsan
--do-no-kasan --do-no-normal" runs only KCSAN runs.  Note that specifying
"--do-no-kasan --do-no-kcsan --do-no-normal" gets normal runs, so you
should not try to use this as a synonym for --do-none.

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