[PATCH] xarray: port tests to kunit
Matthew Wilcox
willy at infradead.org
Thu Jan 30 10:11:22 AEDT 2025
On Wed, Jan 29, 2025 at 06:08:22PM -0500, Tamir Duberstein wrote:
> The whole point of tools is to liberate stupid humans' brains like
> mine from mundane tasks like working out who to email. The tool wasn't
> wrong; it did exactly what you told it to do in your MAINTAINERS
> entry.
Tools do get things wrong. So do humans. When you take your hands off
the steering wheel and the car crashes, it's still your fault.
> > > For what it's worth the kunit invocation, while obscure, is
> > > self-documenting. There's usage information that's reasonably
> > > understandable embedded in the tool itself. I looked for the userspace
> > > testing initially but failed to find
> > > tools/testing/radix-tree/xarray.c. Even now, I'm not sure how I'm
> > > meant to compile this.
> >
> > kunit is useless. The test_xarray.c module is useless. If you break
> > xarray, the kernel won't boot far enough to load any modules. You
> > haven't thought about this AT ALL.
>
> I don't understand what you're saying here.
Then I don't want to see any more patches from you until you do.
More information about the Linuxppc-dev
mailing list