From mboxrd@z Thu Jan 1 00:00:00 1970 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 AEFC0C25B4F for ; Fri, 3 May 2024 18:03:32 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D79CD6B0095; Fri, 3 May 2024 14:03:28 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id D01396B0096; Fri, 3 May 2024 14:03:28 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C18CF6B0098; Fri, 3 May 2024 14:03:28 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id A6EC66B0095 for ; Fri, 3 May 2024 14:03:28 -0400 (EDT) Received: from smtpin08.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 613241A115F for ; Fri, 3 May 2024 18:03:28 +0000 (UTC) X-FDA: 82077856896.08.9515E04 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf11.hostedemail.com (Postfix) with ESMTP id B893340014 for ; Fri, 3 May 2024 18:03:26 +0000 (UTC) Authentication-Results: imf11.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=GcMdqlu0; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf11.hostedemail.com: domain of sj@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=sj@kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1714759406; 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:in-reply-to:references:references:dkim-signature; bh=TLuKA/RqguFWf2lJOdjRWcwp27Pim78sRpyvTxkbI/4=; b=SGeQk1MK1NUbuSfDHtHYriH0XPnc+Bz1L2aYZiNtpz45jjnpBH6aBw1+tq8dy0XIMEqhaK Dolueor20OBLgshu0sAVZ2tkyYp15DuPGCFTW9K/73GSxY47AUEebNc6QHJmjIzQcuuKpk 4FanqYEw/kAq7b0pqd0PcSxP3EKkmA0= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1714759406; a=rsa-sha256; cv=none; b=fXq+hBXvWgAEm3Ri5fR+eS0/ise6D7lnm5LMsCu/HGiSkOY8pEZkSTfphR9GNuGpLPRGdj tGqJ4G/PKefu2RzfxDqI3OEdipoK8ugfWLUL01Kji3UhtQmSPks7S/WYFz65x2VieOcGFF oBWjxwAOL9vSw+zjLGFWxdLO8HjQRec= ARC-Authentication-Results: i=1; imf11.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=GcMdqlu0; dmarc=pass (policy=none) header.from=kernel.org; spf=pass (imf11.hostedemail.com: domain of sj@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=sj@kernel.org Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id D172261E03; Fri, 3 May 2024 18:03:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2465BC116B1; Fri, 3 May 2024 18:03:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714759405; bh=wl4KaQNGGSUoln/HN59nrI9DZXm2wms4eum28pA9dLo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GcMdqlu028SzxGvUHkmkFsYzLK9DLlJ0smYEoaFbRsz6nd0eJHiWiTS3Ba1ejCjpw CoAJow0Rt1FgNM4tEdiLD6cQLwt8572cvjve44lT7OPGhFGsWFVAB7XqESNvHuT1LP VkqwJ0uEVSMlW/MsUzOQ4kEg9GJ4Gx96jyQXgPACJyMvdU1WnWWk7Q6v7RoCmlzCd4 UICxzjc+YRXF4qhGiU56z1PQL+iXRxM+cdpqMTXGlPNFqI7yF7kA5s3yamKARLqDPl +kVh3zZZUEy0UmxksbLdRSmD2MZLM8dXFRGY2EYvlxwlyDKlh52qs9Lv5odKsIFyxf bQDzBQivuom/w== From: SeongJae Park To: Andrew Morton Cc: SeongJae Park , Shuah Khan , damon@lists.linux.dev, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 05/10] selftests/damon: classify tests for functionalities and regressions Date: Fri, 3 May 2024 11:03:13 -0700 Message-Id: <20240503180318.72798-6-sj@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240503180318.72798-1-sj@kernel.org> References: <20240503180318.72798-1-sj@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Server: rspam08 X-Rspamd-Queue-Id: B893340014 X-Stat-Signature: 6e3uuncxsnk5m568efsgw5aoduzxxzyg X-Rspam-User: X-HE-Tag: 1714759406-258685 X-HE-Meta: U2FsdGVkX1/5+wF/shGeHFFDhwL6n9r+vBBIk6fv5DOiWIPdbyYrWv/XF9FxZTmIsR0sZgAkTF09aCeINZVkOGr8NRJa/aiKRXPjt4jPJlaKQxWe+/TNS9FoHvZ5gJo/Mb/LOfZRH0zqI3hCphvF7n46RKURp4EHPEDL+URwDruhd6uhzu9R01ydxn0TkpEiZN+4MUDTjO27cbpSmFiV5OZUP3s0/5533s9J5WXtese4tJ9oQEUCg8Et5cksDHTVUn90tmu5qqDSGH3XtSkeu8f5vnfZybNnHaCS9K3iy0IyvrRNMbeaHr3pxilPOXTbXUyhoKzb9NITlmb+3gPmS/JU9tti8n8+lfLGw0VWIUWHAr9moQhqqDdQf4weq4c4RqKNyJAx0Sufl4fN4Wub6tQZI0AKJxrMUdFV+2JG+0xUB9HyE8HY8/J2FjMEgXEqtgIYRJa/S+lzX9GLaMe/357FCRs7E5Enwh7iM2BMn3xgzjNCNd/DCkx7gLW1rlQHkDR1trbuMDRtfckz9RJMZUX4dn/qqS4Lq7O0qih47RATtod8kW3jBEGYnYp7xS51TXT0ozBIITV3Zbe/B9h0sNVEiMPmGMo4cmghZPok3jfTlaJl0CZv4DevrhKSA7iyz3M5+rEZfkddZ7iO/oPhVyfVHfbSuJJozkt6GM5KZ9mjDzA3Blb2+qSfsfVskI3420KhRPLJc+gcEvEV3Ark330gPYuYVrnCPSlOaH+wXyCQG1rpTNfwYx27eP8TasxTCgeX35d90YlHZWQ4EbkszHMrP/rMMR+Te3+gItYtr4V8y3YJUIK2bgXhA9S77JNDRo+YtTySBSkcK/nZFOEa+IuKZo9Pt41/TJ52/2QcMMM92p2mueUwsWGDagvlP/dLU6VifDUwQm94fBPW0eUl3xpMLXW8z20kt85RnWQtrAyR9eqTd5nfFzErZcFhxJ+uwct1W02ePvvwoXe23eg f5QhT8sY +/45jUXkv7BycwfCScL/qZcYVGpnwiAXbJinMMDPOR5VF2GJMwgIpZVp4+OdOu5omrEJ6BlEis4L6Ms0oO7qPYd7Llx5qjmGkbX1zIbiJKe1IQugXmbVQ13FJuAvZkS6FxF27KtHEmcOg4nzSuoOjml4HVBtgRQE0/rrCBU+ayNNxWpW20gCWfAd2ezc648BKypTIftOmKBDNaEUzCffMFsNy0GGOBhxxiIGUMqkoRtsSYXA= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000014, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: DAMON selftests can be classified into two categories: functionalities and regressions. Functionality tests are for checking if the function is working as specified, while the regression tests are basically reproducers of previously reported and fixed bugs. The tests of the categories are mixed in the selftests Makefile. Separate those for easier understanding of the types of tests. Signed-off-by: SeongJae Park --- tools/testing/selftests/damon/Makefile | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/tools/testing/selftests/damon/Makefile b/tools/testing/selftests/damon/Makefile index 06c248880172..29a22f50e762 100644 --- a/tools/testing/selftests/damon/Makefile +++ b/tools/testing/selftests/damon/Makefile @@ -7,16 +7,21 @@ TEST_GEN_FILES += debugfs_target_ids_pid_leak TEST_GEN_FILES += access_memory TEST_FILES = _chk_dependency.sh _debugfs_common.sh + +# functionality tests TEST_PROGS = debugfs_attrs.sh debugfs_schemes.sh debugfs_target_ids.sh +TEST_PROGS += sysfs.sh +TEST_PROGS += sysfs_update_schemes_tried_regions_wss_estimation.py +TEST_PROGS += damos_quota.py damos_quota_goal.py damos_apply_interval.py +TEST_PROGS += reclaim.sh lru_sort.sh + +# regression tests (reproducers of previously found bugs) TEST_PROGS += debugfs_empty_targets.sh debugfs_huge_count_read_write.sh TEST_PROGS += debugfs_duplicate_context_creation.sh TEST_PROGS += debugfs_rm_non_contexts.sh TEST_PROGS += debugfs_target_ids_read_before_terminate_race.sh TEST_PROGS += debugfs_target_ids_pid_leak.sh -TEST_PROGS += sysfs.sh sysfs_update_removed_scheme_dir.sh +TEST_PROGS += sysfs_update_removed_scheme_dir.sh TEST_PROGS += sysfs_update_schemes_tried_regions_hang.py -TEST_PROGS += sysfs_update_schemes_tried_regions_wss_estimation.py -TEST_PROGS += damos_quota.py damos_quota_goal.py damos_apply_interval.py -TEST_PROGS += reclaim.sh lru_sort.sh include ../lib.mk -- 2.39.2