summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/filesystems/Makefile
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2018-04-10 08:20:53 +0200
committerShuah Khan <shuahkh@osg.samsung.com>2018-04-18 01:01:16 +0200
commit8bf24e8319613bbe950d4188682b3a0d9441b76b (patch)
tree826c7a85f0d8478a4d610d24c6b462933aa33a37 /tools/testing/selftests/filesystems/Makefile
parentLinux 4.17-rc1 (diff)
downloadlinux-8bf24e8319613bbe950d4188682b3a0d9441b76b.tar.xz
linux-8bf24e8319613bbe950d4188682b3a0d9441b76b.zip
selftests/filesystems: Don't run dnotify_test by default
In commit ce290a19609d ("selftests: add devpts selftests"), the filesystems directory was added to the top-level selftests Makefile. That had the effect of causing the existing dnotify_test in the filesystems directory to now be run as part of the default selftests test-run. Unfortunately dnotify_test is actually an infinite loop. Fix it by moving dnotify_test to TEST_GEN_PROGS_EXTENDED, which says that it's a generated file (ie. built) but should not be run as part of the default test suite run (it's an "extended" test). While we're here cleanup a few other things, devpts_pts should be in TEST_GEN_PROGS to indicate that it's built, and with the above two changes we no longer need a custom all or clean rule. Fixes: ce290a19609d ("selftests: add devpts selftests") Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Acked-by: Christian brauner <christian.brauner@ubuntu.com> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools/testing/selftests/filesystems/Makefile')
-rw-r--r--tools/testing/selftests/filesystems/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/tools/testing/selftests/filesystems/Makefile b/tools/testing/selftests/filesystems/Makefile
index 4e6d09fb166f..5c7d7001ad37 100644
--- a/tools/testing/selftests/filesystems/Makefile
+++ b/tools/testing/selftests/filesystems/Makefile
@@ -1,8 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
-TEST_PROGS := dnotify_test devpts_pts
-all: $(TEST_PROGS)
-include ../lib.mk
+TEST_GEN_PROGS := devpts_pts
+TEST_GEN_PROGS_EXTENDED := dnotify_test
-clean:
- rm -fr $(TEST_PROGS)
+include ../lib.mk