From nobody Thu Dec 18 07:11:51 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D5044C197A0 for ; Mon, 20 Nov 2023 22:29:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229732AbjKTW3r (ORCPT ); Mon, 20 Nov 2023 17:29:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229448AbjKTW3q (ORCPT ); Mon, 20 Nov 2023 17:29:46 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3C89A2 for ; Mon, 20 Nov 2023 14:29:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1700519382; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=sLnO8asijaZzMbkZtLITBAUSz4awB/mJCNxRwi1gKfo=; b=PuXQAQSHOuPfsUnEG1hVzminytUYdsV6j79BsWV/DQspROjLrZYRsL9FssUorWX5aaf/dl E0qr43SStwItE5szDFC+2Af2A+IW9GullP5zJlDsOhZEZj2WhuhnI+HjBhBRAyf8viK2MQ a0t4eqXwOuCoKC2xxiZiOctBZ4GMMTA= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-581-KPLK3Vn-PRmzq_G3jfoP0Q-1; Mon, 20 Nov 2023 17:29:40 -0500 X-MC-Unique: KPLK3Vn-PRmzq_G3jfoP0Q-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 3CFCC85A58C; Mon, 20 Nov 2023 22:29:40 +0000 (UTC) Received: from localhost.localdomain.com (unknown [10.22.17.11]) by smtp.corp.redhat.com (Postfix) with ESMTP id A429F492BE0; Mon, 20 Nov 2023 22:29:39 +0000 (UTC) From: Nico Pache To: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-mm@kvack.org Cc: shuah@kernel.org, akpm@linux-foundation.org, jsavitz@redhat.com Subject: [PATCH] selftests/mm: prevent duplicate runs caused by TEST_GEN_PROGS Date: Mon, 20 Nov 2023 15:29:08 -0700 Message-ID: <20231120222908.28559-1-npache@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.9 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" commit 05f1edac8009 ("selftests/mm: run all tests from run_vmtests.sh") fixed the inconsistancy 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. Signed-off-by: Nico Pache Reviewed-by: David Hildenbrand --- tools/testing/selftests/mm/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/mm/Makefile b/tools/testing/selftests/= mm/Makefile index 78dfec8bc676..dede0bcf97a3 100644 --- a/tools/testing/selftests/mm/Makefile +++ b/tools/testing/selftests/mm/Makefile @@ -60,7 +60,7 @@ TEST_GEN_FILES +=3D mrelease_test TEST_GEN_FILES +=3D mremap_dontunmap TEST_GEN_FILES +=3D mremap_test TEST_GEN_FILES +=3D on-fault-limit -TEST_GEN_PROGS +=3D pagemap_ioctl +TEST_GEN_FILES +=3D pagemap_ioctl TEST_GEN_FILES +=3D thuge-gen TEST_GEN_FILES +=3D transhuge-stress TEST_GEN_FILES +=3D uffd-stress @@ -72,7 +72,7 @@ TEST_GEN_FILES +=3D mdwe_test TEST_GEN_FILES +=3D hugetlb_fault_after_madv =20 ifneq ($(ARCH),arm64) -TEST_GEN_PROGS +=3D soft-dirty +TEST_GEN_FILES +=3D soft-dirty endif =20 ifeq ($(ARCH),x86_64) --=20 2.41.0