Skip to content

Commit

Permalink
rust: add rust/.kunitconfig
Browse files Browse the repository at this point in the history
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

Reviewed-by: David Gow <[email protected]>
Signed-off-by: José Expósito <[email protected]>
  • Loading branch information
JoseExposito committed Dec 7, 2022
1 parent bd12347 commit 6074e8f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rust/.kunitconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CONFIG_KUNIT=y
CONFIG_RUST=y
CONFIG_RUST_KERNEL_KUNIT_TEST=y

0 comments on commit 6074e8f

Please sign in to comment.