summaryrefslogtreecommitdiff
path: root/rust
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2025-02-08 14:31:15 +0100
committerMiguel Ojeda <ojeda@kernel.org>2025-03-19 23:22:21 +0100
commitfb625227d540ddead4d21813410a116e9452d232 (patch)
tree8e47980ea27e6a1113eabcde98d0442c7eeedbcf /rust
parent6b2dab17d6fad9d94faae45b46bef307d8560cdf (diff)
rust: add kunitconfig
The kunitconfig file in a directory is used by kunit.py to enable all necessary kernel configurations to run the tests in that subdirectory. Add such a file for rust/. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Reviewed-by: David Gow <davidgow@google.com> Link: https://lore.kernel.org/r/20250208-rust-kunit-v1-2-94a026be6d72@weissschuh.net Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust')
-rw-r--r--rust/.kunitconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/rust/.kunitconfig b/rust/.kunitconfig
new file mode 100644
index 000000000000..9e72a5ab03c9
--- /dev/null
+++ b/rust/.kunitconfig
@@ -0,0 +1,3 @@
+CONFIG_KUNIT=y
+CONFIG_RUST=y
+CONFIG_RUST_KERNEL_DOCTESTS=y