Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1220189

[PATCH v2 6/6] selftests: exec: simpification the Makefile

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Bamvor Jian Zhang <bamvor.zhangjian@linaro.org>
Newsgroups linux.kernel
Subject [PATCH v2 6/6] selftests: exec: simpification the Makefile
Date Mon, 07 Sep 2015 16:10:02 +0200
Message-ID <q65ho-7Mu-17@gated-at.bofh.it> (permalink)
References <q65ho-7Mu-19@gated-at.bofh.it>
X-Original-To linux-kernel@vger.kernel.org
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=1ebIeUisjF4dBrQoHbGecoOoP93eJ4eCvWH2Yzd84rY=; b=CII3mGlSa/6T46kLfnmB1wm6/Wr93bcp9Q5FL3GZVTjdthrWQk3TE/WHTwFoFPAwdm x3E9aWue2esldnIVMkZB31PHn2m0c4zg70iMh+trLJzhDiqzxFSlSUkEeDNfxbDGMs3b FCMQx8J3Z+647IcAw0DFVIehbhKAuoXIg+h0s6MXo1KGEqrIG/DxmzP9Ko+d1hHXuK8p UjxSW/r+FQNrG+8kPGN0ER+BdsALztV1Bq4Du6B5vl5kUt3BnvhXT+6+c6kjpSicDajk H3UYZEduZ7WaLUqtPZ34MzseTntgFxGcbbUoUOEdhaxPOvDv7oESKW6gKiwLSmQ4tu+3 oXVQ==
X-Gm-Message-State ALoCoQnQEHlZzUIVdJWgM6PXnNdkl6hX4JWo+HpIxOmccr1ptfWg93xG3Tk9VcU/ljkq37JPw+Ib
X-Received by 10.68.244.234 with SMTP id xj10mr46613558pbc.13.1441634935090; Mon, 07 Sep 2015 07:08:55 -0700 (PDT)
X-Mailer git-send-email 2.1.4
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 41
Organization linux.* mail to news gateway
X-Original-Cc broonie@kernel.org, khilman@linaro.org, tyler.baker@linaro.org, bamvor.zhangjian@linaro.org, shuahkh@osg.samsung.com, mpe@ellerman.id.au
X-Original-Date Mon, 7 Sep 2015 22:04:52 +0800
X-Original-Message-ID <1441634692-19494-7-git-send-email-bamvor.zhangjian@linaro.org>
X-Original-References <1441634692-19494-1-git-send-email-bamvor.zhangjian@linaro.org>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1220189

Show key headers only | View raw


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 <mpe@ellerman.id.au>
Signed-off-by: Bamvor Jian Zhang <bamvor.zhangjian@linaro.org>
---
 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*
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 6/6] selftests: exec: simpification the Makefile Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> - 2015-09-07 16:10 +0200
  Re: [PATCH v2 6/6] selftests: exec: simpification the Makefile Michael Ellerman <mpe@ellerman.id.au> - 2015-09-08 08:00 +0200

csiph-web