Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

selftests/mm: prevent duplicate runs caused by TEST_GEN_PROGS

Commit 05f1edac8009 ("selftests/mm: run all tests from run_vmtests.sh")
fixed the inconsistency caused by tests being defined as TEST_GEN_PROGS.
This issue was leading to tests not being executed via run_vmtests.sh and
furthermore some tests running twice due to the kselftests wrapper also
executing them.

Fix the definition of two tests (soft-dirty and pagemap_ioctl) that are
still incorrectly defined.

Link: https://lkml.kernel.org/r/20231120222908.28559-1-npache@redhat.com
Signed-off-by: Nico Pache <npache@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Cc: Joel Savitz <jsavitz@redhat.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Nico Pache and committed by
Andrew Morton
f39fb633 1f3730fd

+2 -2
+2 -2
tools/testing/selftests/mm/Makefile
··· 60 60 TEST_GEN_FILES += mremap_dontunmap 61 61 TEST_GEN_FILES += mremap_test 62 62 TEST_GEN_FILES += on-fault-limit 63 - TEST_GEN_PROGS += pagemap_ioctl 63 + TEST_GEN_FILES += pagemap_ioctl 64 64 TEST_GEN_FILES += thuge-gen 65 65 TEST_GEN_FILES += transhuge-stress 66 66 TEST_GEN_FILES += uffd-stress ··· 72 72 TEST_GEN_FILES += hugetlb_fault_after_madv 73 73 74 74 ifneq ($(ARCH),arm64) 75 - TEST_GEN_PROGS += soft-dirty 75 + TEST_GEN_FILES += soft-dirty 76 76 endif 77 77 78 78 ifeq ($(ARCH),x86_64)