Skip to content

Commit 6df6eaf

Browse files
committed
Contributing: merge testing bullets and include Kselftests
This simplifies things (since the Testing page in the kernel documentation contains all too) and also means the KUnit `#[test]`s (and not just the host ones), are covered. Signed-off-by: Miguel Ojeda <[email protected]>
1 parent e1973cf commit 6df6eaf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Contributing.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,10 @@ The following items apply to every patch in a series. That is, in general, each
108108

109109
- When submitting changes to Rust code documentation, please render them using the `rustdoc` target and ensure the result looks as expected. The Rust code documentation gets rendered at <https://rust.docs.kernel.org>.
110110

111-
- When submitting changes to examples inside Rust code documentation (i.e. "doctests"), which are transformed into KUnit tests, please test them by [running them](https://docs.kernel.org/rust/testing.html).
111+
- When submitting changes to tests, including `#[test]`s, Kselftests and examples inside Rust code documentation (i.e. "doctests", which are transformed into KUnit tests), please [test them](https://docs.kernel.org/rust/testing.html).
112112

113113
- When submitting changes to the Rust folder of the kernel documentation (i.e. `Documentation/rust/`), which are written in reStructuredText and handled by Sphinx, please [render them](https://docs.kernel.org/doc-guide/sphinx.html) (typically using the `htmldocs` target) to ensure there are no warnings and that the result looks as expected. The Rust kernel documentation gets rendered at <https://docs.kernel.org/rust/>.
114114

115-
- When submitting changes to `#[test]`s, please test them by running the `rusttest` target.
116-
117115
- Ideally, please check your changes with both the latest stable Rust compiler as well as the minimum supported version (`scripts/min-tool-version.sh rustc`), including Clippy.
118116

119117
### Key cycle dates

0 commit comments

Comments
 (0)