Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp7084781yba; Thu, 2 May 2019 04:04:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqzaVxNW3yA75KCIYj7A6uI3MQ2vG90Tg6zwZDxunWNbWutnGADjhBtCr6MtH/THyiHPUTWv X-Received: by 2002:a63:7504:: with SMTP id q4mr3347009pgc.443.1556795087708; Thu, 02 May 2019 04:04:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556795087; cv=none; d=google.com; s=arc-20160816; b=n4SgZcPCYtocJOpE0uDrM1FoxZZu/f6gWiBR23Okti/EDfYtqO1kslgAq3MbHcnrax TGXe4HTwAL2whYP4u+HowWQcCsk7Kwijf5QNPfSj4sHLqIRTtBXaYc59m/mhB69yt3tN yEvw/7+JToSIlhFFCV+jc0mMfgEJ4ym6Dot+WqU4SYFlcMsBvxt+bdm105qLgdZO5xAI gkgNAKGP/7AH3OnNTCjcJxL3yC3QAa8JynfG+hL94ZxN/Y7MNB411PfjabiuqqhKsdIT jFvE6JFDzBicFgNtu8rN7BZBRDgrIBtIUkG8bkI1MtowPg4E9HXKdMnI4BL3G57H5/xb fGaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=tpCedfedpvpI1qfycoFi9RYWTZijuH76xn/zRP+wBVk=; b=QEmewahB601uSlhoGiQETy1BTKZwLTo7hqGq87o52erkJlv0+bIe/2pSgXagtn0tVJ 1crpUz1MTPTmFTMpIv0j4uZrg7jBppC1XM78O46VhOuMwpUd3tiK8BVPCGP9nuUnyNI1 jEI8PE07vSlmkiuYR+oQClncPiYab7jn0n2DuJp/TG9lkVzcJkksKRT+LlebDrPk6x94 QUsGC5RS+dZ4IKVbAC3s1OtuZ9AeuUuxaqzzmEb+ZmqkXc9Pp2DZ2beeXI/eXOmH2KcR z8t6Ht64IPHtx1b49RZQ26qyUG6qujrWC5Csg7LbUKZIVvVj97HvbL1C1BiwuIMr0AeM rpdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QVhLNVl+; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s145si42106319pgs.228.2019.05.02.04.04.32; Thu, 02 May 2019 04:04:47 -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=@kernel.org header.s=default header.b=QVhLNVl+; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726391AbfEBLCY (ORCPT + 99 others); Thu, 2 May 2019 07:02:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:49998 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726267AbfEBLCX (ORCPT ); Thu, 2 May 2019 07:02:23 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E5A6B20656; Thu, 2 May 2019 11:02:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556794942; bh=nOdygw9Kk1rPOSBt7SYd7W2YRVezyBvv7bv92jfZhHM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QVhLNVl+kFCGa4qKMxbE3iXUhUTDNoqNjOrwG/PTklDuyc/zZitjl4iGVIUEcK9mq ZjtTSTPd/IYzKKg9UaCBiZ1iUe+zjqgu6eX3MtWFfMyatUxvweOtiAQ0LBZimoeXJA oWjvyASNbWkhMa6vm3fnEL/GbAHDE6uY2kQH7jq4= Date: Thu, 2 May 2019 13:02:20 +0200 From: Greg KH To: Brendan Higgins Cc: frowand.list@gmail.com, keescook@google.com, kieran.bingham@ideasonboard.com, mcgrof@kernel.org, robh@kernel.org, sboyd@kernel.org, shuah@kernel.org, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, kunit-dev@googlegroups.com, linux-doc@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-nvdimm@lists.01.org, linux-um@lists.infradead.org, Alexander.Levin@microsoft.com, Tim.Bird@sony.com, amir73il@gmail.com, dan.carpenter@oracle.com, dan.j.williams@intel.com, daniel@ffwll.ch, jdike@addtoit.com, joel@jms.id.au, julia.lawall@lip6.fr, khilman@baylibre.com, knut.omang@oracle.com, logang@deltatee.com, mpe@ellerman.id.au, pmladek@suse.com, richard@nod.at, rientjes@google.com, rostedt@goodmis.org, wfg@linux.intel.com, Felix Guo Subject: Re: [PATCH v2 12/17] kunit: tool: add Python wrappers for running KUnit tests Message-ID: <20190502110220.GD12416@kroah.com> References: <20190501230126.229218-1-brendanhiggins@google.com> <20190501230126.229218-13-brendanhiggins@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190501230126.229218-13-brendanhiggins@google.com> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 01, 2019 at 04:01:21PM -0700, Brendan Higgins wrote: > From: Felix Guo > > The ultimate goal is to create minimal isolated test binaries; in the > meantime we are using UML to provide the infrastructure to run tests, so > define an abstract way to configure and run tests that allow us to > change the context in which tests are built without affecting the user. > This also makes pretty and dynamic error reporting, and a lot of other > nice features easier. > > kunit_config.py: > - parse .config and Kconfig files. > > kunit_kernel.py: provides helper functions to: > - configure the kernel using kunitconfig. > - build the kernel with the appropriate configuration. > - provide function to invoke the kernel and stream the output back. > > Signed-off-by: Felix Guo > Signed-off-by: Brendan Higgins Ah, here's probably my answer to my previous logging format question, right? What's the chance that these wrappers output stuff in a standard format that test-framework-tools can already parse? :) thanks, greg k-h