projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b2dab1
)
rust: add kunitconfig
author
Thomas Weißschuh
<linux@weissschuh.net>
Sat, 8 Feb 2025 13:31:15 +0000
(14:31 +0100)
committer
Miguel Ojeda
<ojeda@kernel.org>
Wed, 19 Mar 2025 22:22:21 +0000
(23:22 +0100)
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>
rust/.kunitconfig
[new file with mode: 0644]
patch
|
blob
diff --git a/rust/.kunitconfig
b/rust/.kunitconfig
new file mode 100644
(file)
index 0000000..
9e72a5a
--- /dev/null
+++ b/
rust/.kunitconfig
@@ -0,0
+1,3
@@
+CONFIG_KUNIT=y
+CONFIG_RUST=y
+CONFIG_RUST_KERNEL_DOCTESTS=y