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


Groups > linux.kernel > #1221423

[PATCH v3 5/5] selftests: exec: revert to default emit rule

From Bamvor Jian Zhang <bamvor.zhangjian@linaro.org>
Newsgroups linux.kernel
Subject [PATCH v3 5/5] selftests: exec: revert to default emit rule
Date 2015-09-09 15:20 +0200
Message-ID <q6Ns8-48j-39@gated-at.bofh.it> (permalink)
References <q6Ns6-48j-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


With the previous patch, the installation method change from install
to rsync. There is no need to create subdir during test, the
default EMIT_TESTS is enough.

This patch essentially 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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/5] kselftest improvement and cleanup Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> - 2015-09-09 15:20 +0200
  [PATCH v3 4/5] selftests: change install command to rsync Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> - 2015-09-09 15:20 +0200
  [PATCH v3 3/5] selftests: mqueue: simplify the Makefile Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> - 2015-09-09 15:20 +0200
  [PATCH v3 1/5] selftests: rename jump label to static_keys Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> - 2015-09-09 15:20 +0200
  [PATCH v3 2/5] selftests: mqueue: allow extra cflags Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> - 2015-09-09 15:20 +0200
  [PATCH v3 5/5] selftests: exec: revert to default emit rule Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> - 2015-09-09 15:20 +0200
  Re: [PATCH v3 0/5] kselftest improvement and cleanup Shuah Khan <shuahkh@osg.samsung.com> - 2015-09-15 01:00 +0200

csiph-web