Skip to content

Commit f39fb63

Browse files
PacheNicoakpm00
authored andcommitted
selftests/mm: prevent duplicate runs caused by TEST_GEN_PROGS
Commit 05f1eda ("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>
1 parent 1f3730f commit f39fb63

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tools/testing/selftests/mm/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ TEST_GEN_FILES += mrelease_test
6060
TEST_GEN_FILES += mremap_dontunmap
6161
TEST_GEN_FILES += mremap_test
6262
TEST_GEN_FILES += on-fault-limit
63-
TEST_GEN_PROGS += pagemap_ioctl
63+
TEST_GEN_FILES += pagemap_ioctl
6464
TEST_GEN_FILES += thuge-gen
6565
TEST_GEN_FILES += transhuge-stress
6666
TEST_GEN_FILES += uffd-stress
@@ -72,7 +72,7 @@ TEST_GEN_FILES += mdwe_test
7272
TEST_GEN_FILES += hugetlb_fault_after_madv
7373

7474
ifneq ($(ARCH),arm64)
75-
TEST_GEN_PROGS += soft-dirty
75+
TEST_GEN_FILES += soft-dirty
7676
endif
7777

7878
ifeq ($(ARCH),x86_64)

0 commit comments

Comments
 (0)