1*e74b7a3fSYury Norov# SPDX-License-Identifier: GPL-2.0-only 2*e74b7a3fSYury Norovmenuconfig RUST_KUNIT_TESTS 3*e74b7a3fSYury Norov bool "Rust KUnit tests" 4*e74b7a3fSYury Norov depends on KUNIT && RUST 5*e74b7a3fSYury Norov default KUNIT_ALL_TESTS 6*e74b7a3fSYury Norov help 7*e74b7a3fSYury Norov This menu collects all options for Rust KUnit tests. 8*e74b7a3fSYury Norov See Documentation/rust/testing.rst for how to protect 9*e74b7a3fSYury Norov unit tests with these options. 10*e74b7a3fSYury Norov 11*e74b7a3fSYury Norov Say Y here to enable Rust KUnit tests. 12*e74b7a3fSYury Norov 13*e74b7a3fSYury Norov If unsure, say N. 14*e74b7a3fSYury Norov 15*e74b7a3fSYury Norovif RUST_KUNIT_TESTS 16*e74b7a3fSYury Norovconfig RUST_ALLOCATOR_KUNIT_TEST 17*e74b7a3fSYury Norov bool "KUnit tests for Rust allocator API" if !KUNIT_ALL_TESTS 18*e74b7a3fSYury Norov default KUNIT_ALL_TESTS 19*e74b7a3fSYury Norov help 20*e74b7a3fSYury Norov This option enables KUnit tests for the Rust allocator API. 21*e74b7a3fSYury Norov These are only for development and testing, not for regular 22*e74b7a3fSYury Norov kernel use cases. 23*e74b7a3fSYury Norov 24*e74b7a3fSYury Norov If unsure, say N. 25*e74b7a3fSYury Norov 26*e74b7a3fSYury Norovconfig RUST_KVEC_KUNIT_TEST 27*e74b7a3fSYury Norov bool "KUnit tests for Rust KVec API" if !KUNIT_ALL_TESTS 28*e74b7a3fSYury Norov default KUNIT_ALL_TESTS 29*e74b7a3fSYury Norov help 30*e74b7a3fSYury Norov This option enables KUnit tests for the Rust KVec API. 31*e74b7a3fSYury Norov These are only for development and testing, not for 32*e74b7a3fSYury Norov regular kernel use cases. 33*e74b7a3fSYury Norov 34*e74b7a3fSYury Norov If unsure, say N. 35*e74b7a3fSYury Norov 36*e74b7a3fSYury Norovconfig RUST_BITMAP_KUNIT_TEST 37*e74b7a3fSYury Norov bool "KUnit tests for Rust bitmap API" if !KUNIT_ALL_TESTS 38*e74b7a3fSYury Norov default KUNIT_ALL_TESTS 39*e74b7a3fSYury Norov help 40*e74b7a3fSYury Norov This option enables KUnit tests for the Rust bitmap API. 41*e74b7a3fSYury Norov These are only for development and testing, not for regular 42*e74b7a3fSYury Norov kernel use cases. 43*e74b7a3fSYury Norov 44*e74b7a3fSYury Norov If unsure, say N. 45*e74b7a3fSYury Norov 46*e74b7a3fSYury Norovconfig RUST_KUNIT_SELFTEST 47*e74b7a3fSYury Norov bool "KUnit selftests for Rust" if !KUNIT_ALL_TESTS 48*e74b7a3fSYury Norov default KUNIT_ALL_TESTS 49*e74b7a3fSYury Norov help 50*e74b7a3fSYury Norov This option enables KUnit selftests. These are only 51*e74b7a3fSYury Norov for development and testing, not for regular kernel 52*e74b7a3fSYury Norov use cases. 53*e74b7a3fSYury Norov 54*e74b7a3fSYury Norov If unsure, say N. 55*e74b7a3fSYury Norov 56*e74b7a3fSYury Norovconfig RUST_STR_KUNIT_TEST 57*e74b7a3fSYury Norov bool "KUnit tests for Rust strings API" if !KUNIT_ALL_TESTS 58*e74b7a3fSYury Norov default KUNIT_ALL_TESTS 59*e74b7a3fSYury Norov help 60*e74b7a3fSYury Norov This option enables KUnit tests for the Rust strings API. 61*e74b7a3fSYury Norov These are only for development and testing, not for regular 62*e74b7a3fSYury Norov kernel use cases. 63*e74b7a3fSYury Norov 64*e74b7a3fSYury Norov If unsure, say N. 65*e74b7a3fSYury Norov 66*e74b7a3fSYury Norovconfig RUST_ATOMICS_KUNIT_TEST 67*e74b7a3fSYury Norov bool "KUnit tests for Rust atomics API" if !KUNIT_ALL_TESTS 68*e74b7a3fSYury Norov default KUNIT_ALL_TESTS 69*e74b7a3fSYury Norov help 70*e74b7a3fSYury Norov This option enables KUnit tests for the Rust atomics API. 71*e74b7a3fSYury Norov These are only for development and testing, not for regular 72*e74b7a3fSYury Norov kernel use cases. 73*e74b7a3fSYury Norov 74*e74b7a3fSYury Norov If unsure, say N. 75*e74b7a3fSYury Norov 76*e74b7a3fSYury Norovendif 77