From patchwork Tue Apr 21 22:51:58 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tyler Baker X-Patchwork-Id: 6254261 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E45459F32B for ; Tue, 21 Apr 2015 22:55:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1E4732034B for ; Tue, 21 Apr 2015 22:55:19 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 16B7F202F2 for ; Tue, 21 Apr 2015 22:55:18 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ykh2M-00048g-Sg; Tue, 21 Apr 2015 22:53:02 +0000 Received: from mail-pd0-f169.google.com ([209.85.192.169]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ykh1m-0003el-JA for linux-arm-kernel@lists.infradead.org; Tue, 21 Apr 2015 22:52:27 +0000 Received: by pdea3 with SMTP id a3so255423078pde.3 for ; Tue, 21 Apr 2015 15:52:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ldQmjcWEX0SAFQKINV05AkNOvNqbERYxjKeppnFOjoc=; b=al9/bfnFZhw/ShYJ8PB4mzhrEeqjIhUFCDLmP3XmdutxwgFQ4PNgc7wNtgwT5x0D9E /apqpc50ttVGjqXfiBIHeXx7bLJ7jJjAG+zyjj1FZDQZjUv2noPZC89dRvm/Kgm4LAbO ACZ18scDlafmLUodamard/xGdjsqNegLNjkj+GDdCDDpwkIdxShE0EJDlerH6y155tRo ZSOW4yScU9bWBpmCXTXc00J9TAqIwfD+NXxHRwbnyZ31fO2P9orJRalbBH5SFQHbaDAM vteN4H3DrYJLa8YC9pIFtMpsOxtIq8L9R5QP0i0XXHtRU5YkM2UZX87mPLiqgfHvB0bX sGCA== X-Gm-Message-State: ALoCoQmrRa4idn1nUrSWGce8kkBrA63BNOqzuyOn8QdNHCau21FlXYUII0ppEjxjBumZDPQX2kHc X-Received: by 10.68.107.69 with SMTP id ha5mr41022822pbb.140.1429656724728; Tue, 21 Apr 2015 15:52:04 -0700 (PDT) Received: from localhost.localdomain ([173.14.250.228]) by mx.google.com with ESMTPSA id a11sm3057758pdj.54.2015.04.21.15.52.03 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 21 Apr 2015 15:52:04 -0700 (PDT) From: Tyler Baker To: Shuah Khan Subject: [PATCH v4 6/7] selftests/x86: install tests Date: Tue, 21 Apr 2015 15:51:58 -0700 Message-Id: <1429656718-10436-1-git-send-email-tyler.baker@linaro.org> X-Mailer: git-send-email 2.1.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150421_155226_716276_7862A37E X-CRM114-Status: UNSURE ( 6.86 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.0 (-) Cc: Kevin Hilman , Michael Ellerman , Tyler Baker , linux-kernel@vger.kernel.org, Andy Lutomirski , John Stultz , David Herrmann , Darren Hart , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Include lib.mk and set TEST_PROGS where appropriate. Cc: Andy Lutomirski Signed-off-by: Tyler Baker --- tools/testing/selftests/x86/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/testing/selftests/x86/Makefile b/tools/testing/selftests/x86/Makefile index ec7b088..4af1e48 100644 --- a/tools/testing/selftests/x86/Makefile +++ b/tools/testing/selftests/x86/Makefile @@ -14,9 +14,13 @@ UNAME_M := $(shell uname -m) ifeq ($(CROSS_COMPILE),) # Always build 32-bit tests all: all_32 +# Install 32-bit tests +TEST_PROGS += $(BINARIES_32) run_x86_tests.sh # If we're on a 64-bit host, build 64-bit tests as well ifeq ($(UNAME_M),x86_64) all: all_64 +# Install 64-bit tests +TEST_PROGS += $(BINARIES_64) endif endif @@ -24,6 +28,8 @@ all_32: check_build32 $(BINARIES_32) all_64: $(BINARIES_64) +include ../lib.mk + clean: $(RM) $(BINARIES_32) $(BINARIES_64)