From patchwork Tue Oct 23 06:16:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 10652735 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0E0EE14BD for ; Tue, 23 Oct 2018 06:17:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DCD0F292E5 for ; Tue, 23 Oct 2018 06:17:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CE44B29307; Tue, 23 Oct 2018 06:17:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 78603292E5 for ; Tue, 23 Oct 2018 06:17:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727512AbeJWOjM (ORCPT ); Tue, 23 Oct 2018 10:39:12 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:36041 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727367AbeJWOjM (ORCPT ); Tue, 23 Oct 2018 10:39:12 -0400 Received: by mail-pf1-f195.google.com with SMTP id l81-v6so160318pfg.3 for ; Mon, 22 Oct 2018 23:17:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=7cJ6FpAGdn+CQDG474XshJ1QBx0qkrYgVpFl3C9GuNY=; b=LG6OKXlJjMNgNe9bPK9INGduEqNgObI1qBQfisGhrRzS12aPTPaTITZqZlRKlz1R04 ZR9zmFhB1pL4n17Z/4P13agS31M8QMOGIgZW2c9l7TvV6X2BdY7/Fc/7N8DYwvAVngUG H/hqGzShKkUNuylvT2AbBUkk/wdL71vhE9HC117y9UVk81GBO0acYQNBdsew7JtBWgiR 2szX3AWhcvWMpgKJ6WJmnuuLqpGMgncDJ+kgrcLFE3i9DIZxSDGiIYVQFsUS2pRL9Y9G B0b3FnOSOpijn4LBFV4OQgD29tshVivYC7JQrUElqEG2vmppJCEIay9/zs/SK7b2pLfw LpDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=7cJ6FpAGdn+CQDG474XshJ1QBx0qkrYgVpFl3C9GuNY=; b=BhRabl96Bho1rbNGzuT2ZPIVN/7YlbhqwHYphSFURQcJqKQ/5uko5EeVU7IuWvN9c2 YpatZfhLr4dUw62Z/1bNzX8ip+O2SsRxgTUsHE6Dd5G0FjNlC5e6Kjxjxc0m72lbNk6V zwq3ICILEeYQ+Glm5W9UnOZFHpC2BHqLo+BqcsET+EBknbY79gpTR7Kbn/GtmgrORt9a RWY28wxVv4HuVgMrcPHeXMdfga5/hvlz7E6O1S6Ny8cjYW6v9+G4N6IaGoih/r8u3sz3 tijX2WKL1c4nhuf0Fj3LKyIjHKPl1WgZs8Fqfw51TevRSwR3RYihah7vG5aLynepkVxu kzzw== X-Gm-Message-State: ABuFfojU3IwWmgWFgG/ozRM08CHPMrIjkkOgEHaxIzuk8O2V2V3FSs4k DkSnPc6+m5E0fQKf8Im9mF8= X-Google-Smtp-Source: ACcGV62yDaP6QKxGQqi6MQKyfRpaLFVOdtkTsVcbm8OA59gM32qGfgVyPgleXsV71E+wq56VYJyFPg== X-Received: by 2002:a62:475c:: with SMTP id u89-v6mr1272372pfa.225.1540275435664; Mon, 22 Oct 2018 23:17:15 -0700 (PDT) Received: from aurora.jms.id.au ([45.124.203.19]) by smtp.gmail.com with ESMTPSA id h14-v6sm486403pfn.80.2018.10.22.23.17.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 22 Oct 2018 23:17:15 -0700 (PDT) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Tue, 23 Oct 2018 16:47:09 +1030 From: Joel Stanley To: linuxppc-dev@lists.ozlabs.org Cc: linux-kselftest@vger.kernel.org Subject: [PATCH 1/6] selftests: powerpc/ptrace: Make tests build Date: Tue, 23 Oct 2018 16:46:52 +1030 Message-Id: <20181023061657.18007-2-joel@jms.id.au> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181023061657.18007-1-joel@jms.id.au> References: <20181023061657.18007-1-joel@jms.id.au> MIME-Version: 1.0 Sender: linux-kselftest-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP According to lib.mk, TEST_PROGS is for shell scripts. It appears we need to define the programs as TEST_GEN_PROGS to ensure they are built. Signed-off-by: Joel Stanley --- tools/testing/selftests/powerpc/ptrace/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/testing/selftests/powerpc/ptrace/Makefile b/tools/testing/selftests/powerpc/ptrace/Makefile index 6ac71b629276..e9a3850aae86 100644 --- a/tools/testing/selftests/powerpc/ptrace/Makefile +++ b/tools/testing/selftests/powerpc/ptrace/Makefile @@ -1,5 +1,5 @@ # SPDX-License-Identifier: GPL-2.0 -TEST_PROGS := ptrace-gpr ptrace-tm-gpr ptrace-tm-spd-gpr \ +TEST_GEN_PROGS := ptrace-gpr ptrace-tm-gpr ptrace-tm-spd-gpr \ ptrace-tar ptrace-tm-tar ptrace-tm-spd-tar ptrace-vsx ptrace-tm-vsx \ ptrace-tm-spd-vsx ptrace-tm-spr ptrace-hwbreak ptrace-pkey core-pkey \ perf-hwbreak ptrace-syscall @@ -12,7 +12,7 @@ CFLAGS += -m64 -I../../../../../usr/include -I../tm -mhtm -fno-pie ptrace-pkey core-pkey: child.h ptrace-pkey core-pkey: LDLIBS += -pthread -$(TEST_PROGS): ../harness.c ../utils.c ../lib/reg.S ptrace.h +$(TEST_GEN_PROGS): ../harness.c ../utils.c ../lib/reg.S ptrace.h clean: - rm -f $(TEST_PROGS) *.o + rm -f $(TEST_GEN_PROGS) *.o