Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp214181pxa; Fri, 21 Aug 2020 05:32:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLyfexzgAhqPb6VmF38XFJf/lTPi+M3SCzCKeBHDMY7oAPZiuV4AskdnXwxFoJ6PobBcUY X-Received: by 2002:a50:fd19:: with SMTP id i25mr2632543eds.101.1598013152406; Fri, 21 Aug 2020 05:32:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598013152; cv=none; d=google.com; s=arc-20160816; b=kLzIlX83N+lCy8kIVbQyZKNIC4yQfOsJnxdBKc7FarCb2nux6ObpDD5gK1h/h2BVDX xhBwfur8lWMhfK/VwdxQgn85avdxj83q1tu3QX2twBOxoK0gbVJ66E2HfU7zQ0mD649f wRcqPAURe7gQX79spoTxckIrGSXzPFJKWItQnA+eW3zKbyKxBfRjd57BQH06S84j4S7F P/D3oacgqIYOPj82Kau5qrBEZ7Q+ass27921hbZV7W1Kjd0q00q8UNeuwbzx5nM5FTRl ZmcVuJPZQt8VIySXDDMjb3rFJrv+vFshAMuhKT9PILLwqLJV3UNlOdCdPtQV2yBl2qem D5vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=nh8vYF51N+i3n60Ve89j/zMp+6oRFEznh1/JisNbDBI=; b=gUcOo/eKiKSiRaNlHyycBfi0fNc1/DSJSUQQhbfcmO2Cf9WNuu+Zz6gbLbxfmjSdgl D3pPAltsbsQQnW0rcBz8Y1n+50gXGQUWaeSSJtYHi8Wf8GoG9y+ewIM6MTm7SmymnZKc hN6xAm23ECRk/flEM2vM8GOOKbmN6xGqdWJyZFgxn/SEPV06svxfwbGXzWB0GMRxWZNl lS5zSOpRT9YVzD8OVwQTtBNQG7C6JpO3bVoZvvPvr/diRDn3RxXQszhcuztFeTbuaBvi 1jjacohp3BL3s/6GU3XNvhFyzD5AMCGtpC5PeVJmjhjun9xAGAHfk+mXGwOxml3vRdtR /49Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v12si1095007ejq.585.2020.08.21.05.32.08; Fri, 21 Aug 2020 05:32:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727838AbgHUM30 (ORCPT + 99 others); Fri, 21 Aug 2020 08:29:26 -0400 Received: from mga06.intel.com ([134.134.136.31]:7119 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728190AbgHUM2z (ORCPT ); Fri, 21 Aug 2020 08:28:55 -0400 IronPort-SDR: c2gv0V8YEqOXtZQ2yQsCrFTForhBhrUrILwfvC3vqdyyeAm1JWQOEFdMtHprUnGDA8LGS4QCr8 SWAWK4VvMTqA== X-IronPort-AV: E=McAfee;i="6000,8403,9719"; a="217060099" X-IronPort-AV: E=Sophos;i="5.76,335,1592895600"; d="scan'208";a="217060099" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Aug 2020 05:28:54 -0700 IronPort-SDR: XrWEwKuYz0KCi67K2ashjHljtoVSK06/hUXjxtueO34msSzCeU1kuj1+pRGaf3NL891STiS72d AzzjiLroS4zw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,335,1592895600"; d="scan'208";a="327750343" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by orsmga008.jf.intel.com with ESMTP; 21 Aug 2020 05:28:51 -0700 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1k96A5-00ALOl-9g; Fri, 21 Aug 2020 15:28:49 +0300 Date: Fri, 21 Aug 2020 15:28:49 +0300 From: Andy Shevchenko To: Petr Mladek Cc: Rasmus Villemoes , Arpitha Raghunandan <98.arpi@gmail.com>, brendanhiggins@google.com, skhan@linuxfoundation.org, rostedt@goodmis.org, sergey.senozhatsky@gmail.com, kunit-dev@googlegroups.com, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org Subject: Re: [PATCH] lib: Convert test_printf.c to KUnit Message-ID: <20200821122849.GS1891694@smile.fi.intel.com> References: <20200817043028.76502-1-98.arpi@gmail.com> <20200821113710.GA26290@alley> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200821113710.GA26290@alley> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 21, 2020 at 01:37:10PM +0200, Petr Mladek wrote: > On Mon 2020-08-17 09:06:32, Rasmus Villemoes wrote: > > On 17/08/2020 06.30, Arpitha Raghunandan wrote: > > > Converts test lib/test_printf.c to KUnit. > > > More information about KUnit can be found at > > > https://www.kernel.org/doc/html/latest/dev-tools/kunit/index.html. > > > KUnit provides a common framework for unit tests in the kernel. > > > > So I can continue to build a kernel with some appropriate CONFIG set to > > y, boot it under virt-me, run dmesg and see if I broke printf? That's > > what I do now, and I don't want to have to start using some enterprisy > > framework. > > I had the same concern. I have tried it. Which raises an obvious question: did the people who convert this test this themselves? Looks like a janitor work in the area without understanding the area good enough. Probably I will NAK all those patches from now on, until it will be good commit messages and cover of risen aspects, including reference to before and after outcome for passed and failed test cases. Brendan, I guess the ball now on your side to prove this is good activity. -- With Best Regards, Andy Shevchenko