Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp167856pxk; Wed, 30 Sep 2020 22:10:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzY9kgzqHtZhZjmSUr+SDLkKJLNRlL01PPVKYxOVh6wyiVcP7hbb5TUOtjQXFPN78Oo0gyd X-Received: by 2002:aa7:c387:: with SMTP id k7mr6121993edq.242.1601529058859; Wed, 30 Sep 2020 22:10:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601529058; cv=none; d=google.com; s=arc-20160816; b=P5l9hXdgUnwZjag0RX3/gkFk5NmnBtajRVlUqR7Z4ut7ROpINEusWGQTFvmdUUGIsU J2k0FxuzgC6mWuh0hHYQp3mLPbQsr3AMw9Cnv7QAQToq8Y3YYe71R28qoDhNEN9MDu+R UTFPVbIfAVv5J8BtaK0kmATYDEv3hy/3sB09kvOBJJfAVD2/WJFwVs9YpL538Jan38IY lM20gXUnfavGxhLz06PzzGYDPGPWW4oX8bL6RxqFY1Vkih/UsYoMHQBpq7wJQrW3K99m wA0KhQCoA72ULNS6RhlIjj6sLATBSONUeaRaUwXCQdVLGEcliXY8JC9OutUAjBxM40JB LkCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=q6KOBJvHBicR0VoRRtmGhxc4kN/+VGebNPC7Evs4tF4=; b=j7zxSkZ2dizHiYCgH8sf0t15ExR3xCxWM9/ZDHwvFV+p6jZfW/ne0DtUDz7+/d2fLd h3K9F9VDRKmFd/7tay/0Q91umUhVv3gUOUgCgZTlx/SYXZnqtypRdZAiqg4sqTJ0PWqc s8R2bN39y0DQBwC7yNezaVrTTMsPPjo1NPofGkJSgJkfsy4Xqs5qAa1A50WJ+gHqbXdY 3dRDsefx37dNtAPIJG2jw9fEC+t1XTMorxNAnKRjjYWK/VNP4T87uCQeuk5O+wzMnJde toApzKhlUl0MkZ8WcfnO9v5nLcOOjuGKZzQ9vxYSW41V3fT0rB06RzH2KBljgIG4dFVW wysA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=cm3qXwMN; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k2si2590423edx.169.2020.09.30.22.10.34; Wed, 30 Sep 2020 22:10:58 -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; dkim=pass header.i=@linaro.org header.s=google header.b=cm3qXwMN; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725936AbgJAFJi (ORCPT + 99 others); Thu, 1 Oct 2020 01:09:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725937AbgJAFJi (ORCPT ); Thu, 1 Oct 2020 01:09:38 -0400 Received: from mail-ot1-x343.google.com (mail-ot1-x343.google.com [IPv6:2607:f8b0:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53B3CC0613D2 for ; Wed, 30 Sep 2020 22:09:38 -0700 (PDT) Received: by mail-ot1-x343.google.com with SMTP id a2so4156113otr.11 for ; Wed, 30 Sep 2020 22:09:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=q6KOBJvHBicR0VoRRtmGhxc4kN/+VGebNPC7Evs4tF4=; b=cm3qXwMNswUF/liZPf5zMwhmh8GyH5J8ViJ70KxfUs7yhhVYXbCaon/m0ixBKyvtaA DHW1hKffN8HrskAwfnGEMN8iPg4MKLhY9VVD+L21T1W6x9VljZ7yudIj8AproT57ytv9 gHSNS89B9H4W5REGOxuK7w9WGMo5OPkLpZBy6fqX6aa6b7TzZEEMaJK9UZc0c889QEbE 0M1rpi9cmeeCTsaBNuizNXKVZBksVhtff5r7dAUNUaj5VFfi+fpzV1z6WFj659rdZIaC QzKCc9z09at1Sj8sWPvD524hGLrD79PDvpP02W4IOLLALVL3QcoJdeH27iHhx5vsGwGH EDEw== 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=q6KOBJvHBicR0VoRRtmGhxc4kN/+VGebNPC7Evs4tF4=; b=ZyENoFLZG7vGHF5e2lyL77hpy3GENVbCeRLwFNa1JeGBWnOQPUetiuNLPEj4+kvWDQ jPmNjmhPgt5RoIAwu3Vtub13c69k6qO8pcDPkCARDIpAFNl8xBsikj5H+WTULx4uHk+W d94Xqp8cH5Qk5uBLrvl08hTPFMMaYTcgu8vSr16BAifEoqKlppyJJf8QFCf+OaEwQuyF QmRFdnvnra7V6e1IpOE9TXjB8vzKpy5YjfOvlMTxk7C1lPItvwEsFFD781V44GDC/Msd i1CivctMgt1cYKKveItY6incW3TrucMIJexExs6q4BNK75FTBF01DMICGec6o5NNdCaY po4A== X-Gm-Message-State: AOAM532ZDSPYq4j83zl/4z0NwaI30c0GrZORoB9JD62tIDsV2GePE6li zXmBUOMszH3n8FV6Hjczknsry6TqpbZyKIXZDcYwVA== X-Received: by 2002:a05:6830:22ce:: with SMTP id q14mr3666913otc.72.1601528976723; Wed, 30 Sep 2020 22:09:36 -0700 (PDT) MIME-Version: 1.0 References: <20200928202650.2530280-1-keescook@chromium.org> <20200928202650.2530280-2-keescook@chromium.org> In-Reply-To: <20200928202650.2530280-2-keescook@chromium.org> From: Naresh Kamboju Date: Thu, 1 Oct 2020 10:39:25 +0530 Message-ID: Subject: Re: [PATCH v2 1/3] selftests: Extract run_kselftest.sh and generate stand-alone test list To: Kees Cook Cc: Shuah Khan , Hangbin Liu , Jonathan Corbet , linux-doc@vger.kernel.org, Tim.Bird@sony.com, lkft-triage@lists.linaro.org, Anders Roxell , Justin Cook , Linux-Next Mailing List , open list , "open list:KERNEL SELFTEST FRAMEWORK" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 29 Sep 2020 at 01:56, Kees Cook wrote: > > Instead of building a script on the fly (which just repeats the same > thing for each test collection), move the script out of the Makefile and > into run_kselftest.sh, which reads kselftest-list.txt. > > Adjust the emit_tests target to report each test on a separate line so > that test running tools (e.g. LAVA) can easily remove individual > tests (for example, as seen in [1]). > > [1] https://github.com/Linaro/test-definitions/pull/208/commits/2e7b62155e4998e54ac0587704932484d4ff84c8 > > Signed-off-by: Kees Cook Tested-by: Naresh Kamboju - Naresh