Re: [PATCH] ww_mutex: convert self-test to KUnit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 11, 2025 at 5:38 PM Boqun Feng <boqun.feng@xxxxxxxxx> wrote:
>
> Hi Tamir,

Hi Boqun, thanks for taking a look.

> On Mon, Feb 10, 2025 at 10:59:12AM -0500, Tamir Duberstein wrote:
> > Convert this unit test to a KUnit test.
> >
>
> I would like to know the pros and cons between kunit tests and
> kselftests, maybe someone Cced can answer that? It'll be good to put
> these in the commit log as well.

David Gow gave a pretty detailed answer in
https://lore.kernel.org/all/CABVgOS=KZrM2dWyp1HzVS0zh7vquLxmTY2T2Ti53DQADrW+sJg@xxxxxxxxxxxxxx/
for a similar patch.

David, what do you think about enumerating these reasons in the KUnit
documentation? This is the 3rd of these patches that has received this
question. It'd be a shame to have every commit enumerate KUnit's
reasons for being.

Tamir





[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux