Commit 8bf24e83 authored by Michael Ellerman's avatar Michael Ellerman Committed by Shuah Khan

selftests/filesystems: Don't run dnotify_test by default

In commit ce290a19 ("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: ce290a19 ("selftests: add devpts selftests")
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Acked-by: default avatarChristian brauner <christian.brauner@ubuntu.com>
Signed-off-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
parent 60cc43fc
# 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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment