Skip to content

Commit db8b526

Browse files
committed
rust: add rust/.kunitconfig
Add a .kunitconfig file with the required configuration options to allow to easily run the KUnit tests without adding them manually: $ ./tools/testing/kunit/kunit.py run --kunitconfig=rust \ --make_options LLVM=1 --arch=x86_64 Note that "CONFIG_UML" is set to "n" because UML is not working at the moment [1]. [1] Rust-for-Linux#881 Reviewed-by: David Gow <[email protected]> Signed-off-by: José Expósito <[email protected]>
1 parent bd12347 commit db8b526

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

rust/.kunitconfig

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
CONFIG_KUNIT=y
2+
CONFIG_RUST=y
3+
CONFIG_RUST_KERNEL_KUNIT_TEST=y
4+
5+
# UML is not supported at the moment
6+
CONFIG_UML=n

0 commit comments

Comments
 (0)