From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, T_DKIMWL_WL_MED,USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 983B9C43219 for ; Thu, 2 May 2019 20:26:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 540E12087F for ; Thu, 2 May 2019 20:26:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="S/NLBkmm" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726772AbfEBU0J (ORCPT ); Thu, 2 May 2019 16:26:09 -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-Google-Smtp-Source: APXvYqxyYrm8zG8OMTTxqGADAYUvr/vXQpVESafN7Cz0pZWyjDkgKl1eFOtZxYdb1jr2uV1YoMkUpLh/i+1PnNqQJjM= 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).