On Fri, May 02, 2025 at 11:51:25PM +0200, Miguel Ojeda wrote:
Improvements that build on top of the very basic `#[test]` support merged in v6.15.
They are fairly minimal changes, but they allow us to map `assert*!`s back to KUnit, plus to add support for test functions that return `Result`s.
In essence, they get our `#[test]`s essentially on par with the documentation tests.
I also took the chance to convert some host `#[test]`s we had to KUnit in order to showcase the feature.
Finally, I added documentation that was lacking from the original submission.
I hope this helps.
It does -- thanks for this series!
Acked-by: Danilo Krummrich dakr@kernel.org
rust: str: convert `rusttest` tests into KUnit
With that, do we still expose `alloc` primitives to userspace tests?