From patchwork Tue May 12 21:59:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tyler Baker X-Patchwork-Id: 6392131 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 3B1DFBEEE1 for ; Tue, 12 May 2015 22:02:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5AA352038E for ; Tue, 12 May 2015 22:02:41 +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 93F6D20380 for ; Tue, 12 May 2015 22:02:40 +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 1YsIDw-0002vF-2x; Tue, 12 May 2015 22:00:24 +0000 Received: from mail-pa0-f44.google.com ([209.85.220.44]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YsIDI-0001OP-AR for linux-arm-kernel@lists.infradead.org; Tue, 12 May 2015 21:59:45 +0000 Received: by pacwv17 with SMTP id wv17so27791526pac.0 for ; Tue, 12 May 2015 14:59:23 -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:in-reply-to :references; bh=+8biR65kMACYwRdKHAmGuOijaB41Uzk/jc6AX5ASG9E=; b=kWjK0/JaDhzzYnvHelR6TD0QmDYT6g0w2yOdJfY2OeNhXnhUQXrRLOPgvjlFV2YyRm +BoDS0Ml3/+rXPdfI9u7+D3gHhEIWnYUvEgn7SrJHW+dN499CQ6UK1r+70UvnHgaWGdN ReYi29NlKVzXHLoGgDQZkFKFtqS4ETS8ujRCwO6bF7flvH3igB1vux0TaQDa8iWj7JLS VvCRTfpjCY+aFHphia1Kr5H2QCieAeeZL16whTeusP/vHwEewx7+DA7iCHUPExE9AMCc ChUT+GljbcUawZQGh0GUKUkdDDbgG7RJGWF3q4LE+shQW3E4ymKzfWM+builHIYaFIqr hJ8Q== X-Gm-Message-State: ALoCoQk9e9pMt3uaio6MNkLGAm4+xqtxcgbHasLcSq374e/b3rFrD/RlRomCiULYXM39rvXdcp0A X-Received: by 10.66.242.138 with SMTP id wq10mr32073741pac.143.1431467963081; Tue, 12 May 2015 14:59:23 -0700 (PDT) Received: from localhost.localdomain ([173.14.250.228]) by mx.google.com with ESMTPSA id gj9sm17164270pbc.77.2015.05.12.14.59.21 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 12 May 2015 14:59:22 -0700 (PDT) From: tyler.baker@linaro.org To: Shuah Khan Subject: [PATCH 2/2] selftests/breakpoints: only set TEST_PROGS when built Date: Tue, 12 May 2015 14:59:07 -0700 Message-Id: <1431467947-29847-3-git-send-email-tyler.baker@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1431467947-29847-1-git-send-email-tyler.baker@linaro.org> References: <1431467947-29847-1-git-send-email-tyler.baker@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150512_145944_447831_B00E2292 X-CRM114-Status: UNSURE ( 9.21 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) 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 From: Tyler Baker Set TEST_PROGS only when a build has occurred. Signed-off-by: Tyler Baker --- tools/testing/selftests/breakpoints/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/testing/selftests/breakpoints/Makefile b/tools/testing/selftests/breakpoints/Makefile index 1822356..54cc3e7 100644 --- a/tools/testing/selftests/breakpoints/Makefile +++ b/tools/testing/selftests/breakpoints/Makefile @@ -12,12 +12,11 @@ endif all: ifeq ($(ARCH),x86) gcc breakpoint_test.c -o breakpoint_test + TEST_PROGS := breakpoint_test else echo "Not an x86 target, can't build breakpoints selftests" endif -TEST_PROGS := breakpoint_test - include ../lib.mk clean: