From patchwork Tue Apr 14 22:51:34 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tyler Baker X-Patchwork-Id: 47155 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f69.google.com (mail-wg0-f69.google.com [74.125.82.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3D6802121F for ; Tue, 14 Apr 2015 22:52:05 +0000 (UTC) Received: by wgiv13 with SMTP id v13sf5579165wgi.3 for ; Tue, 14 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:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=ue+8dEmCo7fzZBIQ2kyHr3hMPx90UvFdZD6BUEYJ4YY=; b=L0OcL8r7mIG2Lb3xyfvE1TRxRoxiqzNMmuMO10vcjPMKi+dSwKlMGOha9m899E3xVB h4VqUr7AHM/mjQkFproFaPlao05/bww+/L+Xubup+VJ3aH+HTTgtai5YLh4VaPNfduHm UGciy0UZDyYtwO4krkH/lk8QZFJ6AQZDpVB5z0Aab6r1K10QSSgU5pR8u13usC327kVX qVJp3q/P5ItyNOuc/awczsV8ewQCgIeVDf9s033uB0fMxw+RkqYMZbRW+3fThXblVOFE K2J/4ylsMOvMoIP/5Nld4woaRQv+NlCNHlYQcoOYUcuSWEgJZj8eShssnbz5J5FNSbl/ 8Y7w== X-Gm-Message-State: ALoCoQnRD5nUQkR0lWMKpjo/n1EqxOSJjTv5+Z7xXYjOrnOMQL2D5sY2gNcHrq2ObcJ8AnNL9B0W X-Received: by 10.112.166.137 with SMTP id zg9mr4183489lbb.11.1429051924523; Tue, 14 Apr 2015 15:52:04 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.20.67 with SMTP id l3ls117497lae.93.gmail; Tue, 14 Apr 2015 15:52:04 -0700 (PDT) X-Received: by 10.112.54.165 with SMTP id k5mr21207242lbp.57.1429051924286; Tue, 14 Apr 2015 15:52:04 -0700 (PDT) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com. [209.85.217.177]) by mx.google.com with ESMTPS id 6si2287842lal.25.2015.04.14.15.52.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Apr 2015 15:52:03 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) client-ip=209.85.217.177; Received: by lbbzk7 with SMTP id zk7so20674813lbb.0 for ; Tue, 14 Apr 2015 15:52:03 -0700 (PDT) X-Received: by 10.152.5.72 with SMTP id q8mr20756243laq.73.1429051923866; Tue, 14 Apr 2015 15:52:03 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.67.65 with SMTP id l1csp2163014lbt; Tue, 14 Apr 2015 15:52:03 -0700 (PDT) X-Received: by 10.70.36.130 with SMTP id q2mr40187356pdj.27.1429051922088; Tue, 14 Apr 2015 15:52:02 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ju8si3870009pbb.43.2015.04.14.15.52.01; Tue, 14 Apr 2015 15:52:02 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932784AbbDNWv4 (ORCPT + 27 others); Tue, 14 Apr 2015 18:51:56 -0400 Received: from mail-pd0-f181.google.com ([209.85.192.181]:35262 "EHLO mail-pd0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932629AbbDNWvk (ORCPT ); Tue, 14 Apr 2015 18:51:40 -0400 Received: by pdbqd1 with SMTP id qd1so28553095pdb.2 for ; Tue, 14 Apr 2015 15:51:39 -0700 (PDT) X-Received: by 10.66.251.165 with SMTP id zl5mr40265316pac.93.1429051899800; Tue, 14 Apr 2015 15:51:39 -0700 (PDT) Received: from localhost.localdomain ([173.14.250.228]) by mx.google.com with ESMTPSA id cj2sm2127398pbb.10.2015.04.14.15.51.38 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 14 Apr 2015 15:51:39 -0700 (PDT) From: Tyler Baker To: Shuah Khan Cc: Kevin Hilman , John Stultz , Darren Hart , David Herrmann , Michael Ellerman , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Tyler Baker Subject: [PATCH 3/7] selftests/breakpoints: emit skip and omit installation when tests are not compiled Date: Tue, 14 Apr 2015 15:51:34 -0700 Message-Id: <1429051894-14687-1-git-send-email-tyler.baker@linaro.org> X-Mailer: git-send-email 2.1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: tyler.baker@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The breakpoints test should only should be executed on x86 targets, so lets emit a skip and omit the installation when ARCH != x86. Signed-off-by: Tyler Baker --- tools/testing/selftests/breakpoints/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/testing/selftests/breakpoints/Makefile b/tools/testing/selftests/breakpoints/Makefile index 1822356..430b76d 100644 --- a/tools/testing/selftests/breakpoints/Makefile +++ b/tools/testing/selftests/breakpoints/Makefile @@ -8,7 +8,6 @@ ifeq ($(ARCH),x86_64) ARCH := x86 endif - all: ifeq ($(ARCH),x86) gcc breakpoint_test.c -o breakpoint_test @@ -20,5 +19,11 @@ TEST_PROGS := breakpoint_test include ../lib.mk +install: +ifneq ($(ARCH),x86) +echo "Not an x86 target, can't install breakpoints selftests" +override EMIT_TESTS := echo "echo \"selftests: breakpoint_test [SKIP]\"" +endif + clean: rm -fr breakpoint_test