On Tue, Feb 11, 2025 at 5:38 PM Boqun Feng boqun.feng@gmail.com 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+... 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