diff options
author | Marco Elver <elver@google.com> | 2021-01-13 17:05:57 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2021-03-08 14:27:43 -0800 |
commit | f6a149140321274cbd955dee50798fe191841f94 (patch) | |
tree | f3ab8d90ca933998d153f90d9b5d30a3dafa3785 /kernel/kcsan/encoding.h | |
parent | a146fed56f8a06a6f17ac11ebdc7ca3f396bcb55 (diff) | |
download | linux-stable-f6a149140321274cbd955dee50798fe191841f94.tar.gz linux-stable-f6a149140321274cbd955dee50798fe191841f94.tar.bz2 linux-stable-f6a149140321274cbd955dee50798fe191841f94.zip |
kcsan: Switch to KUNIT_CASE_PARAM for parameterized tests
Since KUnit now support parameterized tests via KUNIT_CASE_PARAM, update
KCSAN's test to switch to it for parameterized tests. This simplifies
parameterized tests and gets rid of the "parameters in case name"
workaround (hack).
At the same time, we can increase the maximum number of threads used,
because on systems with too few CPUs, KUnit allows us to now stop at the
maximum useful threads and not unnecessarily execute redundant test
cases with (the same) limited threads as had been the case before.
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/kcsan/encoding.h')
0 files changed, 0 insertions, 0 deletions