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=-10.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_MUTT autolearn=unavailable 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 BFE11C48BE1 for ; Thu, 20 Jun 2019 21:40:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A2340206BA for ; Thu, 20 Jun 2019 21:40:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726434AbfFTVk2 (ORCPT ); Thu, 20 Jun 2019 17:40:28 -0400 Received: from mga18.intel.com ([134.134.136.126]:34693 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726034AbfFTVk2 (ORCPT ); Thu, 20 Jun 2019 17:40:28 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Jun 2019 14:40:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,398,1557212400"; d="scan'208";a="168639077" Received: from mudigirx-mobl1.gar.corp.intel.com (HELO localhost) ([10.252.61.12]) by FMSMGA003.fm.intel.com with ESMTP; 20 Jun 2019 14:40:24 -0700 Date: Fri, 21 Jun 2019 00:40:22 +0300 From: Jarkko Sakkinen To: Daniel =?iso-8859-1?Q?D=EDaz?= Cc: shuah@kernel.org, linux-kselftest@vger.kernel.org, Petr Vorel , Joey Pabalinas , open list Subject: Re: [PATCH] selftests/tpm2: Install run-time Python modules Message-ID: <20190620214022.GA20474@linux.intel.com> References: <20190620131822.28944-1-daniel.diaz@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190620131822.28944-1-daniel.diaz@linaro.org> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 20, 2019 at 08:18:19AM -0500, Daniel Díaz wrote: > When ordinarily running the tests, upon `make install', the > following error is encountered: > ImportError: No module named tpm2_tests > because the Python files are not installed at the moment. > > Fix this by adding both Python modules as accompanying > TEST_FILES in the Makefile. > > Signed-off-by: Daniel Díaz Reviewed-by: Jarkko Sakkinen Question the kselftests maintainers: can I take this to [1] and include to my 5.3 PR? [1] git://git.infradead.org/users/jjs/linux-tpmdd.git /Jarkko