File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -254,7 +254,11 @@ jobs:
254254 grep '] rust_print: Info message (level 6) with args$' qemu-stdout
255255 grep '] rust_print: A line that is continued with args$' qemu-stdout
256256
257- - run : grep '] ok 7 rust_doctests_kernel$' qemu-stdout
257+ - run : |
258+ # Print the result line for debugging.
259+ grep -E '\] ok [0-9]+ rust_doctests_kernel$' qemu-stdout || true
260+
261+ grep '] ok 8 rust_doctests_kernel$' qemu-stdout
258262
259263 - run : python ci/check_panics.py qemu-stdout
260264
Original file line number Diff line number Diff line change @@ -17,3 +17,13 @@ AX88796B_RUST_PHY=y
1717
1818CONFIG_KUNIT=y
1919CONFIG_RUST_KERNEL_DOCTESTS=y
20+
21+ # Other test suites from the `kernel` crate (i.e. `kunit_tests`, `#[test]`).
22+ CONFIG_RUST_KUNIT_TESTS=y
23+ CONFIG_RUST_ALLOCATOR_KUNIT_TEST=y
24+ CONFIG_RUST_KVEC_KUNIT_TEST=y
25+ CONFIG_RUST_BITMAP_KUNIT_TEST=y
26+ CONFIG_RUST_KUNIT_SELFTEST=y
27+ CONFIG_RUST_STR_KUNIT_TEST=y
28+ CONFIG_RUST_ATOMICS_KUNIT_TEST=y
29+ CONFIG_RUST_BITFIELD_KUNIT_TEST=y
You can’t perform that action at this time.
0 commit comments