Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2741104yba; Mon, 6 May 2019 10:46:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqyj3AW2TKUi+yXtgy/ad+GOUZhSh6CLslI9WkObxxBkH+8PKIlvkD43CEYRHdmxSGZ5WMfi X-Received: by 2002:a62:4183:: with SMTP id g3mr35962589pfd.229.1557164797905; Mon, 06 May 2019 10:46:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557164797; cv=none; d=google.com; s=arc-20160816; b=zBjfaUhMT6lGR5/6MAcVyOqvRJRO2Zx+wvF/aQ/lm0vm0yLrCFH9tqPwqBj2cDOu5n uUPjskfnQMxLgQza+R75eO42HvWHp9zoz+V5kjZG0xuNXgpOIgZIh0Ksyf/1jsnRIB9W SiOMisGDFUj0O24DZsFHuFtstVXCwwIJyxcC9wLG6cdRhZWWGPGebSjdGw7IAmBM9cp1 TmrK2RZCQqaEAr942QxReqTrG0nMP+Nb35XQdkI4BSCmTBajWXx+t+SDbGYMUyrYwR3o 0cl7HzVB1wvrWcEBGQ+ywzkI25HPY49OTeCyIlc9r6dJE5f2mqFLoDGcZSebMK23CqwV Zw7g== 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=OeGgjZBJ9uWD1pdsX/+zOfgOjAibZGBp9WPaU0eToUc=; b=GuGLQd4rsDGyDUNPnbNWtl9JKfAYfZXYFIclrIxK6maXT5ZXCDecgT6z4GCCC7IhR1 zWeCnSDyb8mFon8UhBPRUcxOFw+RchyXPMrRj9rLzTgavPcPWpJ5PtsdM718PMTfH2iz Ywn7eZiEBWyMvcKG4XLyInoh75Gbeoy4Vv0wXztoAhBnFMwfNTZyeRrXESXATRAp42gJ JDCmmxVTC5NqrPOBNJH35fe8B/pxEic4B7WX1qPsEBw0A5mDi8zZN59LomDzbqm94YpL y90d+GXoDW11wP80iijuyLmlk+x4xVOFt0HhY4FNAuOno2H7ViEp2J4C0QCU+nGGFydE npBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=m4Zw2fBY; 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 o2si16410532pfb.85.2019.05.06.10.46.21; Mon, 06 May 2019 10:46:37 -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=m4Zw2fBY; 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 S1726426AbfEFRoJ (ORCPT + 99 others); Mon, 6 May 2019 13:44:09 -0400 Received: from mail-vs1-f65.google.com ([209.85.217.65]:32812 "EHLO mail-vs1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726428AbfEFRoI (ORCPT ); Mon, 6 May 2019 13:44:08 -0400 Received: by mail-vs1-f65.google.com with SMTP id z145so8675921vsc.0 for ; Mon, 06 May 2019 10:44: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=OeGgjZBJ9uWD1pdsX/+zOfgOjAibZGBp9WPaU0eToUc=; b=m4Zw2fBY+VMLzhBfTBbz4Dtlq0Cc6l6MqEwoJ7YTjrYPzeO8QeIYW3yIFLyCL117Kt axxocOSPh/a+gWkz5TWdPKqb2BPRt/jtybJOfLKxxemlLxpId3LZKDrEsHYJlkXqRfwz fCTrKPtDSaBjY4auU4otyGauXVMtlpMTLmviNmwp8xF+tgZuQMZPsaKxN5HR6oBL5vv2 Zb040i1FzkyXpGkN4I4IP7WFVE6iEZwE10S2R1vSIzVYWL40r/PqrLJElx8kQUpZMdyS 9343jPbZPHbXIDd2SJlyBmLnUf59HZ8PtlBE/IOAyuF/EUfnmI/1F3+fvCafLr94a9B9 gs7Q== 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=OeGgjZBJ9uWD1pdsX/+zOfgOjAibZGBp9WPaU0eToUc=; b=BOuW8QUf3wvVOopzxiV8NwY2R4LWntbzc5QXkqz+yecsWm8OtnnaPLOm371sZjk/Hi QC8FK/T5VTUf6qHldz4W26CWkiRtWf506ibRcBYjKftYfcr55hUrMJIpLXI7PMU+o31c 6uY3UB2LbUomfc6pYuGHhRLWEedNQQsF1Xxz5Hu336IhDGAspLT2YnBjQw0YnL6GcdNv McPp//aX67TBIJ/xgEJJl0qlrCm9dvjUYPUGMglh0nOA3ezjVn91vU1ayGLhDghWJ8EG sv0jylSMOAO+EFrH55yjNjeezD0DRkY6u9OPxKDEaQ45wppTkJcs3ejYPngN+BKsA98W zQsA== X-Gm-Message-State: APjAAAW7l8eY71oH3grwkekUroKv0LJB6GsGdzMC0gwpqErW7rcnWDQI N+6GWwfBOjm1Wm+4q8h71x4xh521KWnV7RtgDRbO8A== X-Received: by 2002:a67:dd95:: with SMTP id i21mr8883021vsk.48.1557164647231; Mon, 06 May 2019 10:44:07 -0700 (PDT) MIME-Version: 1.0 References: <20190501230126.229218-1-brendanhiggins@google.com> <20190501230126.229218-13-brendanhiggins@google.com> <20190502110220.GD12416@kroah.com> <1a5f3c44-9fa9-d423-66bf-45255a90c468@gmail.com> <052fa196-4ea9-8384-79b7-fe6bacc0ee82@gmail.com> <63f63c7c-6185-5e64-b338-6a5e7fb9e27c@gmail.com> In-Reply-To: <63f63c7c-6185-5e64-b338-6a5e7fb9e27c@gmail.com> From: Kees Cook Date: Mon, 6 May 2019 10:43:55 -0700 Message-ID: Subject: Re: [PATCH v2 12/17] kunit: tool: add Python wrappers for running KUnit tests To: Frank Rowand , Brendan Higgins , Shuah Khan Cc: Greg KH , Kieran Bingham , Luis Chamberlain , Rob Herring , Stephen Boyd , devicetree , dri-devel , kunit-dev@googlegroups.com, "open list:DOCUMENTATION" , "linux-fsdevel@vger.kernel.org" , linux-kbuild , Linux Kernel Mailing List , "open list:KERNEL SELFTEST FRAMEWORK" , 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, Felix Guo 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 Sun, May 5, 2019 at 5:19 PM Frank Rowand wrote: > You can see the full version 14 document in the submitter's repo: > > $ git clone https://github.com/isaacs/testanything.github.io.git > $ cd testanything.github.io > $ git checkout tap14 > $ ls tap-version-14-specification.md > > My understanding is the the version 14 specification is not trying to > add new features, but instead capture what is already implemented in > the wild. Oh! I didn't know about the work on TAP 14. I'll go read through this. > > ## Here is what I propose for this patchset: > > > > - Print out test number range at the beginning of each test suite. > > - Print out log lines as soon as they happen as diagnostics. > > - Print out the lines that state whether a test passes or fails as a > > ok/not ok line. > > > > This would be technically conforming with TAP13 and is consistent with > > what some kselftests have done. This is what I fixed kselftest to actually do (it wasn't doing correct TAP13), and Shuah is testing the series now: https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git/log/?h=ksft-tap-refactor I'll go read TAP 14 now... -- Kees Cook