From patchwork Mon Nov 20 22:29:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nico Pache X-Patchwork-Id: 13462209 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7D698C2BB3F for ; Mon, 20 Nov 2023 22:29:48 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A99D36B033C; Mon, 20 Nov 2023 17:29:47 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id A49AE6B0341; Mon, 20 Nov 2023 17:29:47 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9391E6B0365; Mon, 20 Nov 2023 17:29:47 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 84DBB6B033C for ; Mon, 20 Nov 2023 17:29:47 -0500 (EST) Received: from smtpin28.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 5B49FA0A97 for ; Mon, 20 Nov 2023 22:29:47 +0000 (UTC) X-FDA: 81479776014.28.83351A9 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by imf30.hostedemail.com (Postfix) with ESMTP id C3C328000B for ; Mon, 20 Nov 2023 22:29:44 +0000 (UTC) Authentication-Results: imf30.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=PTvskxP8; dmarc=pass (policy=none) header.from=redhat.com; spf=pass (imf30.hostedemail.com: domain of npache@redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=npache@redhat.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1700519384; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=sLnO8asijaZzMbkZtLITBAUSz4awB/mJCNxRwi1gKfo=; b=lwiC0N63QG9zahSCCKtK4U3/4dd+ZV1JVOaXuxF2/n7pFjoZu7BbdwMN/4lSAkXjAkgV9L Gh/L3OifjPPRQL+QDGmg1jWgoZcwWnWzoREgj4rxIwADLVdTTKyna5rRS00g0eVPGTqI2d 7bPIZ4rh8vlgW5A+9ET7tgNCP20U35w= ARC-Authentication-Results: i=1; imf30.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=PTvskxP8; dmarc=pass (policy=none) header.from=redhat.com; spf=pass (imf30.hostedemail.com: domain of npache@redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=npache@redhat.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1700519384; a=rsa-sha256; cv=none; b=NLWU8XHLC9aoPwgWOZc7/7P3Z+WOczgizG3hBiXxiRVyc4rd04WXkyw2rwivVNT9uZhCa7 7GanoPOBa/YDP24dWub2ffGqCCkcamcOQvhzUc9/zNbvL27T/8vBTNpmZ4oOfy0DJM9WRi Bx7S0bBMhUve31SGcR/+x5lT/1WGrvE= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1700519384; 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=PTvskxP8OOXIzfvM9IzHPBzNEiKlKgHOXukxK/5DMpFt63zE7OaXzUEjco7fbb2IhM8ZZE TQxZkC9ctihPupAvWIoKIGD7EJpFsRqZo0gu0WdmrI9HWZA4Q1llziouIIXX2VZqz/ATaS ls4nUnE8YRAuoNExMt3GUhMqfprnGPM= 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 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.9 X-Rspam-User: X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: C3C328000B X-Stat-Signature: gtz7doggzqi5g6nuouky6ys578fbaeao X-HE-Tag: 1700519384-442495 X-HE-Meta: U2FsdGVkX1+c2UlY6zQipcf8+v985qGkNaTy3So8pi79JadueHHBw3T8/FVctbbX/LqEerzXZ3cq47+VhQgEwMmsyX7uLwcN4YZssOfvVEoIkCnROmrQux7mfYQiM6pz0j/LB7hq8KCbH20jkbkor/DggxEgc//+OTX0NkqQeo5t5ijeKDveH+z5c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ux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: 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 += mrelease_test TEST_GEN_FILES += mremap_dontunmap TEST_GEN_FILES += mremap_test TEST_GEN_FILES += on-fault-limit -TEST_GEN_PROGS += pagemap_ioctl +TEST_GEN_FILES += pagemap_ioctl TEST_GEN_FILES += thuge-gen TEST_GEN_FILES += transhuge-stress TEST_GEN_FILES += uffd-stress @@ -72,7 +72,7 @@ TEST_GEN_FILES += mdwe_test TEST_GEN_FILES += hugetlb_fault_after_madv ifneq ($(ARCH),arm64) -TEST_GEN_PROGS += soft-dirty +TEST_GEN_FILES += soft-dirty endif ifeq ($(ARCH),x86_64)