summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/splice
diff options
context:
space:
mode:
authorDaniel Díaz <daniel.diaz@linaro.org>2017-07-07 19:01:52 +0300
committerShuah Khan <shuahkh@osg.samsung.com>2017-07-24 21:44:39 +0300
commit5cc3027f002fafee33137b0a44f8dee23aa1c7a4 (patch)
tree5a2b21464f8e36a8d24f33dbd2514ae83cf05da3 /tools/testing/selftests/splice
parenta3d6d79f11673427ba2cfa09e358f0eccd06fbee (diff)
downloadlinux-5cc3027f002fafee33137b0a44f8dee23aa1c7a4.tar.xz
selftests: Fix installation for splice test
Simplify the Makefile rules so that the test is automatically installed (and cleaned) by leveraging the TEST_GEN_PROGS_EXTENDED definition. Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org> Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools/testing/selftests/splice')
-rw-r--r--tools/testing/selftests/splice/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/testing/selftests/splice/Makefile b/tools/testing/selftests/splice/Makefile
index 9fc78e5e5451..7e1187e007fa 100644
--- a/tools/testing/selftests/splice/Makefile
+++ b/tools/testing/selftests/splice/Makefile
@@ -1,7 +1,4 @@
TEST_PROGS := default_file_splice_read.sh
-EXTRA := default_file_splice_read
-all: $(TEST_PROGS) $(EXTRA)
+TEST_GEN_PROGS_EXTENDED := default_file_splice_read
include ../lib.mk
-
-EXTRA_CLEAN := $(EXTRA)