From patchwork Thu Jun 20 13:18:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Daniel_D=C3=ADaz?= X-Patchwork-Id: 167340 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp2064884ilk; Thu, 20 Jun 2019 06:19:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqycGOajCiASTes9hasUtonyvMXbsba36ho8Bvb8LPkD9iWRNZMl4jfn6INh7yoj5f+w/M1s X-Received: by 2002:a17:90a:aa0a:: with SMTP id k10mr3139857pjq.43.1561036797803; Thu, 20 Jun 2019 06:19:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561036797; cv=none; d=google.com; s=arc-20160816; b=xK/ZCCLEtpQa0nrXrpSFvhyp2kA35bwfvC7+o4C+SS5ImpSWt2a6m+Z1JDU6NHL1ku fepZ+aKv67paLopQzEfWi49GpIAbYxv86N/6HhQw40/18EZDfitfuAefkkTno2fsxO8w qolYyZEm6Fgb2j31y4geeXUcY6txodCxpYZy2eOC153WFnqZr8N0vQm2uJ6CF4Y7BeTI mE4ZJkCd4DEln9OuHsN498j7iNzfoqkqZaoOpREdSr4MAaqmdomQNm1JRPotMXpA4Cme nlaXjsJrJjitVPhABU1m9p2m+AIijGMEpcAtyKHDzLwg0hV2SBP7BlNq+3vUgbrQSooj LjOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=1IDImd+SyL7qusfZ7LEqZyeCM5Jqrmah1crodqgym2o=; b=IMjPZx1jx7GKQf6x7ruR8s12eFvZxKPKd8bGeqmWifUFJYcaqr5NnY0wciUV3CWJAY gUQla6hzLI5pIRTz/yzzXmIDehixWUPBwz9cZyuPRWVjguCVfjTv2X/OMAbsR3ZB6ebg fGcRz2FySJyIc0oLwaeNx1oXg4akPBrakQJWG81CrCT1DjBR166C41zuELq5vflhmmIM XnBngI8FmUf9HwqQgsvPy67sH1QmMoV0lFTfXcKRJAGcHFnU8J9SKy38s/OFx6Gd+N0M qGjMxWKxZTuCJ630jWbS4suiSr1BYIw8pU4RVltYEWTQqrhP42xLcIE9fwWPlcnLJzuA NkTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Z77iLpOX; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r5si19607048pfc.112.2019.06.20.06.19.57; Thu, 20 Jun 2019 06:19:57 -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=@linaro.org header.s=google header.b=Z77iLpOX; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732069AbfFTNT4 (ORCPT + 30 others); Thu, 20 Jun 2019 09:19:56 -0400 Received: from mail-oi1-f196.google.com ([209.85.167.196]:35424 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731972AbfFTNTz (ORCPT ); Thu, 20 Jun 2019 09:19:55 -0400 Received: by mail-oi1-f196.google.com with SMTP id a127so2130994oii.2 for ; Thu, 20 Jun 2019 06:19:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1IDImd+SyL7qusfZ7LEqZyeCM5Jqrmah1crodqgym2o=; b=Z77iLpOXmS+LuG22+Pytd77vIOhESlIw9v0v/o6wz3WFxUVyZVuXJyx4weKeiAaHLC ICyqNfMfDaMIR6ayB8jyTxh7WaXJguH7MAKdKF5UvpkAZpzjDSudYBycegmdv+cu3y15 GJfnWza79menUVnjzVj/C188QZVNtvPmC6BkufiJg4QDBfrgLETYgTboXga0ksf6Bg0E mgqxLmAc+KD2Hbfv9VTXfG5MrxmYg+pZk4V6eZnGbPIEzp2SgIAXb6JEo3IdYTIKxYw/ 9heW8RVFfJ52e0uQ8KD/L8xbVktXc9+p8AmFlk7oON8FotA+3R0q1CsjGObin7blMxo6 osdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1IDImd+SyL7qusfZ7LEqZyeCM5Jqrmah1crodqgym2o=; b=MgsGy+aULUCa4hpeD2VAyiEMv+98BiQyFUF/LZDkg7vw07pE5x2AtIh7eYACVxiENl 2ISJc0riWSa70pcdmJNO2YS8t19Jr1Y8bmdljPCjXAkZM+cYPP3K3d6WbRZT/T9W6gCX z3k5PrDQcqaRqwSCg5HLpVWE4kilCRjgg1mdUMeyPeaR8GcyGxwfzGIdlunHbJvSg4lX LmQAYP0FNpgBagPw02kVI8mURLG0oPu7pHUDlsrXO9f3/u1k1EEwQXJ58QEUrpViPQzS 8CuEq1SQuyFmYtnRl4YS36j9sDDRVmD+k3kYNLndaIksLPJL1eOz6dgbo3J6er4cmgnE KYvQ== X-Gm-Message-State: APjAAAXazT3o/Xk8x1BuOMhTjYRhIavyLfebtw4Tgww6sul/JNygm2M6 PISZT1dzELBHKBB1rUkKLpP8Aw== X-Received: by 2002:aca:4b42:: with SMTP id y63mr6256321oia.168.1561036794590; Thu, 20 Jun 2019 06:19:54 -0700 (PDT) Received: from alago.cortijodelrio.net (CableLink-189-218-29-147.Hosts.InterCable.net. [189.218.29.147]) by smtp.googlemail.com with ESMTPSA id t6sm7878945otk.36.2019.06.20.06.19.53 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 20 Jun 2019 06:19:53 -0700 (PDT) From: =?utf-8?q?Daniel_D=C3=ADaz?= To: shuah@kernel.org Cc: linux-kselftest@vger.kernel.org, =?utf-8?q?Daniel_D=C3=ADaz?= , Petr Vorel , Joey Pabalinas , Jarkko Sakkinen , linux-kernel@vger.kernel.org (open list) Subject: [PATCH] selftests/tpm2: Install run-time Python modules Date: Thu, 20 Jun 2019 08:18:19 -0500 Message-Id: <20190620131822.28944-1-daniel.diaz@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- tools/testing/selftests/tpm2/Makefile | 1 + 1 file changed, 1 insertion(+) -- 2.20.1 Reviewed-by: Jarkko Sakkinen diff --git a/tools/testing/selftests/tpm2/Makefile b/tools/testing/selftests/tpm2/Makefile index 9dd848427a7b..bf401f725eef 100644 --- a/tools/testing/selftests/tpm2/Makefile +++ b/tools/testing/selftests/tpm2/Makefile @@ -2,3 +2,4 @@ include ../lib.mk TEST_PROGS := test_smoke.sh test_space.sh +TEST_FILES := tpm2.py tpm2_tests.py