From patchwork Mon Sep 7 14:04:52 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bamvor Zhang Jian X-Patchwork-Id: 53240 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by patches.linaro.org (Postfix) with ESMTPS id D48B322B06 for ; Mon, 7 Sep 2015 14:09:17 +0000 (UTC) Received: by lbcao8 with SMTP id ao8sf26086032lbc.1 for ; Mon, 07 Sep 2015 07:09:16 -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:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=4frfjSQcOWnEVaXtS7FsNUcavDGf7SNMT//71X4KeLg=; b=KaPDbLhIr8wIFJaEjdnUug4C92kLHpS6G1Ydl+doMz6A3Z0MkYqqu7551TXS1RIqho Bj2Tw3/hGZ+a4nyrWntPDIisetZdN0kpN5SgbeAbVLPStOUfUNH1b5bkSvaUg1BuOp5E j4FTvZ/0Mk9AD7yRAT/ot3lrmm9aNKlD/LO/s0mi1Nj0SZ+RukVgo6yDyaXCpzIQ34ds kqhgXGmmL8qwjbWz71O33gWJFgxfW2b/AO5XsKjLvlcQGT77A2qaXdm0u30/v/Lxqmu2 J/6jRII3X6g7t3TR9QBBgUGRi6ERL+n/UiajOXLEypyr38H3ITEdZbNohmQ+sMTqJRMW +1TA== X-Gm-Message-State: ALoCoQlKZBJovR19rYJHO+sfd6uwomVUT0vx/xiUpTvv4petX2C9s9jkhWKHHJRwDv6Y6BWVWlrj X-Received: by 10.152.27.10 with SMTP id p10mr5064716lag.1.1441634956799; Mon, 07 Sep 2015 07:09:16 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.43.170 with SMTP id x10ls635933lal.61.gmail; Mon, 07 Sep 2015 07:09:16 -0700 (PDT) X-Received: by 10.152.5.201 with SMTP id u9mr17427306lau.26.1441634956623; Mon, 07 Sep 2015 07:09:16 -0700 (PDT) Received: from mail-la0-f53.google.com (mail-la0-f53.google.com. [209.85.215.53]) by mx.google.com with ESMTPS id x5si89113lal.70.2015.09.07.07.09.16 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Sep 2015 07:09:16 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) client-ip=209.85.215.53; Received: by lanb10 with SMTP id b10so52242720lan.3 for ; Mon, 07 Sep 2015 07:09:16 -0700 (PDT) X-Received: by 10.112.146.135 with SMTP id tc7mr17509932lbb.35.1441634956511; Mon, 07 Sep 2015 07:09:16 -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.59.35 with SMTP id w3csp398857lbq; Mon, 7 Sep 2015 07:09:15 -0700 (PDT) X-Received: by 10.107.14.145 with SMTP id 139mr27486749ioo.37.1441634955548; Mon, 07 Sep 2015 07:09:15 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ps1si20309041pdb.113.2015.09.07.07.09.14; Mon, 07 Sep 2015 07:09:15 -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; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751564AbbIGOJB (ORCPT + 28 others); Mon, 7 Sep 2015 10:09:01 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:36263 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751252AbbIGOIz (ORCPT ); Mon, 7 Sep 2015 10:08:55 -0400 Received: by padhk3 with SMTP id hk3so13326566pad.3 for ; Mon, 07 Sep 2015 07:08:55 -0700 (PDT) X-Received: by 10.68.244.234 with SMTP id xj10mr46613558pbc.13.1441634935090; Mon, 07 Sep 2015 07:08:55 -0700 (PDT) Received: from linux-j170.site (ec2-52-68-133-70.ap-northeast-1.compute.amazonaws.com. [52.68.133.70]) by smtp.gmail.com with ESMTPSA id gh5sm12167908pbc.87.2015.09.07.07.08.48 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 07 Sep 2015 07:08:54 -0700 (PDT) From: Bamvor Jian Zhang To: linux-kernel@vger.kernel.org Cc: broonie@kernel.org, khilman@linaro.org, tyler.baker@linaro.org, bamvor.zhangjian@linaro.org, shuahkh@osg.samsung.com, mpe@ellerman.id.au Subject: [PATCH v2 6/6] selftests: exec: simpification the Makefile Date: Mon, 7 Sep 2015 22:04:52 +0800 Message-Id: <1441634692-19494-7-git-send-email-bamvor.zhangjian@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1441634692-19494-1-git-send-email-bamvor.zhangjian@linaro.org> References: <1441634692-19494-1-git-send-email-bamvor.zhangjian@linaro.org> 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: bamvor.zhangjian@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.215.53 as permitted sender) smtp.mailfrom=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: , With the previous patch, the installation method change from install to rsync. There is not no need to create subdir during test, the default RUN_TESTS is enough. This patch implicitly revert commit 84cbd9e4 ("selftests/exec: do not install subdir as it is already created"). Suggested-by: Michael Ellerman Signed-off-by: Bamvor Jian Zhang --- tools/testing/selftests/exec/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tools/testing/selftests/exec/Makefile b/tools/testing/selftests/exec/Makefile index 6b76bfd..4e400eb 100644 --- a/tools/testing/selftests/exec/Makefile +++ b/tools/testing/selftests/exec/Makefile @@ -1,6 +1,6 @@ CFLAGS = -Wall BINARIES = execveat -DEPS = execveat.symlink execveat.denatured script +DEPS = execveat.symlink execveat.denatured script subdir all: $(BINARIES) $(DEPS) subdir: @@ -22,7 +22,5 @@ TEST_FILES := $(DEPS) include ../lib.mk -override EMIT_TESTS := echo "mkdir -p subdir; (./execveat && echo \"selftests: execveat [PASS]\") || echo \"selftests: execveat [FAIL]\"" - clean: rm -rf $(BINARIES) $(DEPS) subdir.moved execveat.moved xxxxx*