Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp7638558yba; Thu, 2 May 2019 13:29:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqyn0fDC0ZztfFwt2Kqp6JAp5/c7vBtzVmdELszIDUSNje81cRBH3eHKoENhi2ApEw/rxBSo X-Received: by 2002:aa7:8a8a:: with SMTP id a10mr6547146pfc.146.1556828940328; Thu, 02 May 2019 13:29:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556828940; cv=none; d=google.com; s=arc-20160816; b=RV9yRW9CNJmDo2ZjZKcxrDxJfsP5gjFIsdOo8/LGCfEUGKRvxHkG2RQoo1ad3hB+KL TB75smprufqCgXpODuSLdFXcAsiO++mww9bIEwog8yerVScCeEfm7858SH8jltYtZEX2 /CmNgt+1DgTbxlYVKV7pgpRGfe9qsZIK7twYaKyCq57g5NL82OiXFDQAJFqzRKt7G1Io GR+chTABWdQYGFs1l7kGLmqzlQjfMeG375quwDkHmZLvwEAJ0jF9CMaY5j3hcI5UnuZB nIQ9ZXPIP54+yvliib4SUMBiur9bpO5qkoAQSR7YnebG0LJiaNOZBBukArx/OP+/MKuo KRUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=UjYVT5cAdmQKUfv9t8ccIVDdyBls+aL8RkatsPsXvcs=; b=OqKqKQa+EP2B5ZrzBytLiQw5p0sqvDy6NLmdOR5BFNrFCRVyyDqa9Gq/VA5xOYrole rfFqCIXfzmbsHjCgC33XI9Zx6mC3HPrloqmTH0t5lt28ro4SkPjoy7/zs2n54sVSEJbT mstsJRDYR1aGSTs2FZ74JmgCk0tw6JDh4Q5I54/Z9fJMXBp1GOMhFEWQdojwulH6oiZ3 uMIehpy4jUdCaZefjvuuQZgpUzSOvPvbfQSM0pqiEsbGMczhtDRI4+ywsoFMbgtRawER Pq3LfzpQJdWASGOgUGv99Md+56/FGKwH5Yi+rM/pSQgiffJEqCV3LQfLu0AaK/fpJ8X8 o3KA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="S/NLBkmm"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m2si182539pll.44.2019.05.02.13.28.44; Thu, 02 May 2019 13:29:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="S/NLBkmm"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726766AbfEBU0I (ORCPT + 99 others); Thu, 2 May 2019 16:26:08 -0400 Received: from mail-ot1-f67.google.com ([209.85.210.67]:35814 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726544AbfEBU0H (ORCPT ); Thu, 2 May 2019 16:26:07 -0400 Received: by mail-ot1-f67.google.com with SMTP id g24so3356122otq.2 for ; Thu, 02 May 2019 13:26:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UjYVT5cAdmQKUfv9t8ccIVDdyBls+aL8RkatsPsXvcs=; b=S/NLBkmmg3Md+sTx08gED5HrktmpwZikr8idsPoedLBx4NGY0vsICG/2JByh1OPLMl SoIkyImRxqPDEOFyC2ZMo66T4y64AzxZJe60LUPIIZ+2whbKVnm1u/h2cZWzkh0Pg7xc EXNw4yJNZ9fhJbGVtdrs9Sah16nUmTboVs4KkvhykHpn/i4zj9XsNumXBLK6Ynb0YPNG +tpKFc1Qf+4khDJxrAPPVZg4LS8WUK6j1vznFw5a8jr0zVqX9peLg5vYA1eBwQqixHhg xvPSDH5tHp5fJ/MAFS5gSf8uCUub0+kg9vZwn+lDYmBqYVC0qg8nx8pyREf5ogAUd63R E26Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UjYVT5cAdmQKUfv9t8ccIVDdyBls+aL8RkatsPsXvcs=; b=PRT89pVAZmdAEpNhnnd/oBl3GKyikSJ7eS8+DD4rQt33wkhl165cqaQFPDmG8ay04B 80O0xTvwCAd2HgIhebZ+LPOHrrLwR1WAS+CgPivH6tsMNTeZzgkfBJg0y6v7bgmcWTtR 4UJcXYmkWQMlsZ9Wbn4iJmPjQ+TG1/3qOZPXA6DCIp5mRpFJCd9wSLGeJKP0ptmP15IU I4/yvDetuX7MFri7nX0FS7Q71b04s9xO7e+2D8vYwS4hih6xMM6Zm5X2tzQvWNo1emIb oFP8Y7IKcLOZMnCHhltlB7OYxJ7br9hWKM1c+UZV+o7KPRGUTlcdwWsUGRTNjmw2hAZr Ogdw== X-Gm-Message-State: APjAAAWYGL5YN3jQgT7e9eAoHisApXqNWEZdBu+7qQLwo+jysUNZm2Pn 3y30TTTvDjeIDC9Fv5CslZx6VyesxqCpH5SxX/vrVg== X-Received: by 2002:a05:6830:204a:: with SMTP id f10mr3731908otp.83.1556828766432; Thu, 02 May 2019 13:26:06 -0700 (PDT) MIME-Version: 1.0 References: <20190501230126.229218-1-brendanhiggins@google.com> <20190501230126.229218-5-brendanhiggins@google.com> <20190502110008.GC12416@kroah.com> In-Reply-To: <20190502110008.GC12416@kroah.com> From: Brendan Higgins Date: Thu, 2 May 2019 13:25:54 -0700 Message-ID: Subject: Re: [PATCH v2 04/17] kunit: test: add kunit_stream a std::stream like logger To: Greg KH Cc: Frank Rowand , Kees Cook , Kieran Bingham , Luis Chamberlain , Rob Herring , Stephen Boyd , shuah@kernel.org, devicetree , dri-devel , kunit-dev@googlegroups.com, linux-doc@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kbuild@vger.kernel.org, Linux Kernel Mailing List , linux-kselftest@vger.kernel.org, linux-nvdimm , linux-um@lists.infradead.org, Sasha Levin , "Bird, Timothy" , Amir Goldstein , Dan Carpenter , Dan Williams , Daniel Vetter , Jeff Dike , Joel Stanley , Julia Lawall , Kevin Hilman , Knut Omang , Logan Gunthorpe , Michael Ellerman , Petr Mladek , Richard Weinberger , David Rientjes , Steven Rostedt , wfg@linux.intel.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 2, 2019 at 4:00 AM Greg KH wrote: > > On Wed, May 01, 2019 at 04:01:13PM -0700, Brendan Higgins wrote: > > A lot of the expectation and assertion infrastructure prints out fairly > > complicated test failure messages, so add a C++ style log library for > > for logging test results. > > Ideally we would always use a standard logging format, like the > kselftest tests all are aiming to do. That way the output can be easily > parsed by tools to see if the tests succeed/fail easily. > > Any chance of having this logging framework enforcing that format as > well? I agree with your comment on the later patch that we should handle this at the wrapper script layer (KUnit tool).