Skip to content

Commit 72fbacd

Browse files
committed
Enable other tests
1 parent 05dba5f commit 72fbacd

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

.github/workflows/ci.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff 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

rfl-rust.config

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,13 @@ AX88796B_RUST_PHY=y
1717

1818
CONFIG_KUNIT=y
1919
CONFIG_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

0 commit comments

Comments
 (0)